All pastes #994973 Raw Edit

Miscellany

public diff v1 · immutable
#994973 ·published 2008-04-23 20:05 UTC
rendered paste body
Index: includes/loan_action.class.php===================================================================--- includes/loan_action.class.php      (revision 785)+++ includes/loan_action.class.php      (working copy)@@ -1313,7 +1313,7 @@      ";     #error_log($statement);     $sth=$this->conn->Execute($statement);-    if ($sth&&!$sth->EOF) {+    if ($sth&&!$sth->EOF&&$sth->fields[1]!='0') {       $old_cust_id  = $sth->fields[0];       $old_loan_id  = $sth->fields[1];       $old_run_date = $sth->fields[2];