blimey
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Nov 2010 20:30:36 +0000 (20:30 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Nov 2010 20:30:36 +0000 (20:30 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18596 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm

index 6b5777f..33f3eec 100644 (file)
@@ -768,7 +768,7 @@ sub fund_exceeds_balance_percent {
 
         if ( 
             $allocations == 0 || # if no allocations were ever made, assume we have hit the stop percent
-            (($allocations - $balance + $debit_amount) / $allocations) * 100) > $fund->$method_name
+            ((($allocations - $balance + $debit_amount) / $allocations) * 100) > $fund->$method_name
         ) {
             $logger->info("fund would hit a limit: " . $fund->id . ", $balance, $debit_amount, $allocations, $method_name");
             $e->event(