summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Form.pm')
-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 $_;