summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $_;