summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-03 04:48:39 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-03 04:48:39 +0000
commit474adf4d82a6535123d5b80abb0ed9c352a2a9e5 (patch)
treeb550165dca8dbfb2ea6f339f10dc5a2454b5fc70 /LedgerSMB
parenta8e7829404c763cd4f69abf602fc722a5ddf1c12 (diff)
Fixing default bug
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@476 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 166fcbbb..c68e6e0e 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);
- ($_) = $dbh->selectrow_array($query);
+ ($_) = $sth->fetchrow_array($query);
$_ = "0" unless $_;