From: Joey Schulze Date: Wed, 20 Jan 2010 09:39:18 +0000 (+0100) Subject: Use error message from database class instead of odbc_error X-Git-Tag: 2010-06-02_customer~276 X-Git-Url: https://git.infodrom.org/?p=misc%2Fkostenrechnung;a=commitdiff_plain;h=48c8eca87e603262e0a112617e100e966e153321 Use error message from database class instead of odbc_error --- 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; }