From a2b918ec46def844438a716f2917d1375539ae07 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Tue, 27 Jun 2000 06:04:40 +0000 Subject: fix for DBI compatibility --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globals.pl') 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); -- cgit v1.2.3-24-g4f1b