From: Joey Schulze Date: Mon, 24 Feb 2014 18:51:46 +0000 (+0100) Subject: Add errorInfor function to database class X-Git-Url: https://git.infodrom.org/?p=infodrom%2Fhallinta;a=commitdiff_plain;h=a84fd72a0f466f958d147045f1e7ba48ff9c2c96 Add errorInfor function to database class --- diff --git a/class/database.class.php b/class/database.class.php index 47be12d..8805eac 100644 --- a/class/database.class.php +++ b/class/database.class.php @@ -73,6 +73,11 @@ class Database { } } + public function errorInfo() + { + return $this->db->errorInfo(); + } + public function quote($string) { if (is_null($string)) return 'NULL';