Add errorInfor function to database class
authorJoey Schulze <joey@infodrom.org>
Mon, 24 Feb 2014 18:51:46 +0000 (19:51 +0100)
committerJoey Schulze <joey@infodrom.org>
Mon, 24 Feb 2014 18:51:46 +0000 (19:51 +0100)
class/database.class.php

index 47be12d..8805eac 100644 (file)
@@ -73,6 +73,11 @@ class Database {
     }
   }
 
     }
   }
 
+  public function errorInfo()
+  {
+    return $this->db->errorInfo();
+  }
+
   public function quote($string)
   {
     if (is_null($string)) return 'NULL';
   public function quote($string)
   {
     if (is_null($string)) return 'NULL';