From c4cc3ea8127c87b5139f6b43a2624526537a9e8a Mon Sep 17 00:00:00 2001 From: abijah Date: Fri, 31 Jul 2009 19:23:19 +0000 Subject: [PATCH] Left a syntax error on the last checkin :-/ git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@461 97e9348a-65ac-dc4b-aefc-98561f571b83 --- site/models/statement_entry.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/models/statement_entry.php b/site/models/statement_entry.php index 356732b..d1e6710 100644 --- a/site/models/statement_entry.php +++ b/site/models/statement_entry.php @@ -435,13 +435,13 @@ OPTION 2 $credit['balance'] -= $payment_amount; $this->pr(20, compact('credit'), - (($credit['balance'] > 0 ? 'Utilized' : 'Exhausted') - ' ' . (count($credits) ? 'Credit' : 'Receipt'))); + ($credit['balance'] > 0 ? 'Utilized' : 'Exhausted') . + (count($credits) ? ' Credit' : ' Receipt')); if ($credit['balance'] < 0) die("HOW DID WE END UP WITH NEGATIVE SURPLUS BALANCE?"); - // If we've exhaused the credit, get it out of the + // If we've exhausted the credit, get it out of the // available credit pool (but keep track of it for later). if ($credit['balance'] <= 0 && count($credits)) $used_credits[] = array_shift($credits);