diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-03 04:54:26 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-03 04:54:26 +0000 |
commit | aadceb81a6b63a1896b3150a4f6783bcc45a1157 (patch) | |
tree | 59c128d381d96dbd437cf87a0aa37391d103c58e /LedgerSMB | |
parent | c76e7aae3cc27d5ecc881c1d4a11a510e9c6b9af (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-x | LedgerSMB/Form.pm | 2 |
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 $_; |