From 16b917c2f8a6a41aa189ee9028e00c9502b62339 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 13 Apr 2011 14:04:07 +1200 Subject: [PATCH] Fixing typo in fix for tests --- C4/Accounts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Accounts.pm b/C4/Accounts.pm index 0610c13823..32054f456f 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -353,7 +353,7 @@ should be the empty string. sub manualinvoice { my ( $borrowernumber, $itemnum, $desc, $type, $amount, $note ) = @_; my $manager_id = 0; - $manager_id = C4::Context->userenv->{'number'} if C4::Context->userenv->{'number'}; + $manager_id = C4::Context->userenv->{'number'} if C4::Context->userenv; my $dbh = C4::Context->dbh; my $notifyid = 0; my $insert; -- 2.39.5