summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 03:03:32 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 03:03:32 +0000
commit02538a32dbdba7af56ef4be2fb02a043cf03bc81 (patch)
treeea8fc9a9359cc2fcf3779c7cfbc69532397f024a /LedgerSMB
parentd649a37823d026d9f0ac9a7c4a67ed39b17cb8b2 (diff)
Moved double-parsing detection to UNIVERSAL::isa()
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@245 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-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;
}