summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2000-06-27 08:04:40 +0200
committercyeh%bluemartini.com <>2000-06-27 08:04:40 +0200
commita2b918ec46def844438a716f2917d1375539ae07 (patch)
tree8917df51408beb35d36df1ff9c53d75ea81ba046
parent7171d4a4a7976a2924bceb7bf4d41a0892d62edf (diff)
downloadbugzilla-a2b918ec46def844438a716f2917d1375539ae07.tar.gz
bugzilla-a2b918ec46def844438a716f2917d1375539ae07.tar.xz
fix for DBI compatibility
-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);