projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1d9b35d
)
Add errorInfor function to database class
author
Joey Schulze
<joey@infodrom.org>
Mon, 24 Feb 2014 18:51:46 +0000
(19:51 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 24 Feb 2014 18:51:46 +0000
(19:51 +0100)
class/database.class.php
patch
|
blob
|
history
diff --git
a/class/database.class.php
b/class/database.class.php
index
47be12d
..
8805eac
100644
(file)
--- 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';