summaryrefslogtreecommitdiff
path: root/include/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/db.php')
-rw-r--r--include/db.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/db.php b/include/db.php
index 55d1d654e..f45f07276 100644
--- a/include/db.php
+++ b/include/db.php
@@ -29,6 +29,10 @@ function db_last_error() {
return Db::get()->last_error();
}
+function db_last_query_error() {
+ return Db::get()->last_query_error();
+}
+
function db_quote($str){
return Db::get()->quote($str);
}