From aadceb81a6b63a1896b3150a4f6783bcc45a1157 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 3 Nov 2006 04:54:26 +0000 Subject: Another defaults handling fix git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@478 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') 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 $_; -- cgit v1.2.3