Fix for bug 1314 manual credits broken
authorrangi <rangi>
Mon, 2 Jul 2007 00:44:25 +0000 (00:44 +0000)
committerrangi <rangi>
Mon, 2 Jul 2007 00:44:25 +0000 (00:44 +0000)
C4/Accounts.pm

index 6f5bc91..e385443 100755 (executable)
@@ -273,7 +273,7 @@ should be the empty string.
 sub manualinvoice{
   my ($borrowernumber,$itemnum,$desc,$type,$amount,$user)=@_;
   my $dbh = C4::Context->dbh;
-  my $notifyid;
+  my $notifyid=0;
   my $insert;
   $itemnum=~ s/ //g;
   my $accountno=getnextacctno($borrowernumber);