The ErrorMsg method is part of the db object
[misc/kostenrechnung] / lib / rico / ricoXmlResponse.php
index 33bd798..e29d6b6 100644 (file)
@@ -203,7 +203,7 @@ class ricoXmlResponse {
       $rsMain=$this->objDB->RunQuery($rawsqltext);
     }
     if (!$rsMain) {
-      echo "\n<debug>Query2xmlRaw: rsMain is null - ".htmlspecialchars($this->objDB->ErrorMsg())."</debug>";
+      echo "\n<debug>Query2xmlRaw: rsMain is null - ".htmlspecialchars($this->objDB->db->ErrorMsg())."</debug>";
       return;
     }