From a2b918ec46def844438a716f2917d1375539ae07 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Tue, 27 Jun 2000 06:04:40 +0000 Subject: [PATCH] fix for DBI compatibility --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/globals.pl b/globals.pl index 80f517c85f..91ef44ceec 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); -- 2.47.2