From 48c8eca87e603262e0a112617e100e966e153321 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Wed, 20 Jan 2010 10:39:18 +0100 Subject: [PATCH] Use error message from database class instead of odbc_error --- lib/rico/ricoXmlResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rico/ricoXmlResponse.php b/lib/rico/ricoXmlResponse.php index 1064be6..30575e3 100644 --- a/lib/rico/ricoXmlResponse.php +++ b/lib/rico/ricoXmlResponse.php @@ -198,7 +198,7 @@ class ricoXmlResponse { $rsMain=$this->objDB->RunQuery($rawsqltext); } if (!$rsMain) { - echo "\nQuery2xmlRaw: rsMain is null - ".htmlspecialchars(odbc_error()).""; + echo "\nQuery2xmlRaw: rsMain is null - ".htmlspecialchars($this->objDB->ErrorMsg()).""; return; } -- 2.20.1