Index: trunk/ippMonitor/def/autocode.php
===================================================================
--- trunk/ippMonitor/def/autocode.php	(revision 19302)
+++ trunk/ippMonitor/def/autocode.php	(revision 21137)
@@ -35,5 +35,5 @@
 
 $qry = $db->query($sql);
-if (DB::isError($qry)) {
+if (dberror($qry)) {
   echo "<b>error reading $TABLE table count</b><br>\n";
   echo "<br><small><b> count query : $sql </b></small><br>\n";
@@ -65,5 +65,5 @@
 
 $qry = $db->query($sql);
-if (DB::isError($qry)) {
+if (dberror($qry)) {
   echo "<b>error reading $TABLE table</b><br>\n";
   echo "<br><small><b> table query : $sql </b></small><br>\n";
