[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3691] trunk
- Subject: SF.net SVN: ledger-smb:[3691] trunk
- From: ..hidden..
- Date: Thu, 01 Sep 2011 20:07:24 +0000
Revision: 3691
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3691&view=rev
Author: ehuelsmann
Date: 2011-09-01 20:07:24 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Fix typos regarding putting invoices on hold.
Modified Paths:
--------------
trunk/LedgerSMB/IS.pm
trunk/bin/is.pl
Modified: trunk/LedgerSMB/IS.pm
===================================================================
--- trunk/LedgerSMB/IS.pm 2011-08-29 19:04:42 UTC (rev 3690)
+++ trunk/LedgerSMB/IS.pm 2011-09-01 20:07:24 UTC (rev 3691)
@@ -2412,7 +2412,7 @@
}
$sth = $dbh->prepare("update ar set on_hold = ?::boolean where ar.id = ?");
- my $code = $dbh->execute($ns, $form->{id});
+ my $code = $sth->execute($ns, $form->{id});
return 1;
Modified: trunk/bin/is.pl
===================================================================
--- trunk/bin/is.pl 2011-08-29 19:04:42 UTC (rev 3690)
+++ trunk/bin/is.pl 2011-09-01 20:07:24 UTC (rev 3691)
@@ -1445,7 +1445,7 @@
if ($form->{id}) {
- my $toggled = IS->toggle_on_old($form);
+ my $toggled = IS->toggle_on_hold($form);
#&invoice_links(); # is that it?
&edit(); # it was already IN edit for this to be reached.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.