summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-03 04:54:26 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-03 04:54:26 +0000
commitaadceb81a6b63a1896b3150a4f6783bcc45a1157 (patch)
tree59c128d381d96dbd437cf87a0aa37391d103c58e /LedgerSMB
parentc76e7aae3cc27d5ecc881c1d4a11a510e9c6b9af (diff)
Another defaults handling fix
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@478 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 c68e6e0e..8f8101ca 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -2765,7 +2765,7 @@ sub update_defaults {
WHERE setting_key = ? FOR UPDATE|;
$sth = $dbh->prepare($query);
$sth->execute($fld);
- ($_) = $sth->fetchrow_array($query);
+ ($_) = $sth->fetchrow_array();
$_ = "0" unless $_;