summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index a1267fbe..f1083634 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
+ UNIVERSAL::isa($amount, 'Math::BigFloat'); # Amount may not be an object
if (!$@ and $amount->isa('Math::BigFloat')){
return $amount;
}