[Astpp-commit] SF.net SVN: astpp:[2289] trunk/modules/ASTPP/lib/ASTPP.pm
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2009-10-14 01:31:25
|
Revision: 2289
http://astpp.svn.sourceforge.net/astpp/?rev=2289&view=rev
Author: darrenkw
Date: 2009-10-14 01:31:18 +0000 (Wed, 14 Oct 2009)
Log Message:
-----------
Fixed a missing command that would cause account balances to not be calculated.
Modified Paths:
--------------
trunk/modules/ASTPP/lib/ASTPP.pm
Modified: trunk/modules/ASTPP/lib/ASTPP.pm
===================================================================
--- trunk/modules/ASTPP/lib/ASTPP.pm 2009-10-09 14:59:42 UTC (rev 2288)
+++ trunk/modules/ASTPP/lib/ASTPP.pm 2009-10-14 01:31:18 UTC (rev 2289)
@@ -1436,6 +1436,8 @@
. " from cdrs,accounts WHERE cardnum = "
. $self->{_astpp_db}->quote($arg{account})
. " AND cdrs.status NOT IN(1,2)";
+ $sql =
+ $self->{_astpp_db}->prepare($tmp);
$sql->execute;
$row = $sql->fetchrow_hashref;
$credit = $row->{"SUM(cdrs.credit)"};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|