summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/ScriptLib/Company.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/ScriptLib/Company.pm b/LedgerSMB/ScriptLib/Company.pm
index 34d22154..1c9f2321 100644
--- a/LedgerSMB/ScriptLib/Company.pm
+++ b/LedgerSMB/ScriptLib/Company.pm
@@ -507,7 +507,7 @@ sub save_bank_account {
sub save_notes {
my ($request) = @_;
- my $company = new_company($company);
+ my $company = new_company($request);
$company->save_notes();
$company->get();
_render_main_screen($company );