diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index f305690a..a1267fbe 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -489,7 +489,7 @@ sub parse_amount { my ($self, $myconfig, $amount) = @_; - eval $amount->isa('Math::BigFloat'); # Amount may not be an object + eval{ $amount->isa('Math::BigFloat'); }; # Amount may not be an object if (!$@ and $amount->isa('Math::BigFloat')){ return $amount; } |