summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 80f517c85..91ef44cee 100644
--- a/globals.pl
+++ b/globals.pl
@@ -132,7 +132,7 @@ sub SendSQL {
SqlLog($str);
$::currentquery = $::db->prepare($str);
$::currentquery->execute
- || die "$str: " . $::db->errmsg;
+ || die "$str: " . $::db->errstr;
SqlLog("Done");
if (!$dontshadow && $iswrite && Param("shadowdb")) {
my $q = SqlQuote($str);