fix for bug 1961: sprintf value needed in C4/Circulation.pm
authorJoshua Ferraro <jmf@liblime.com>
Fri, 20 Jun 2008 22:04:27 +0000 (17:04 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 20 Jun 2008 22:04:27 +0000 (17:04 -0500)
C4/Circulation.pm

index d118bca..25a8dcc 100644 (file)
@@ -701,7 +701,7 @@ sub CanBookBeIssued {
     }
     else {
         if ( $amount > 0 ) {
-            $needsconfirmation{DEBT} = $amount;
+            $needsconfirmation{DEBT} = sprintf( "%.2f", $amount );
         }
     }