diff --git a/bureau/class/db_mysql.php b/bureau/class/db_mysql.php index fcffa76c..31d399c9 100644 --- a/bureau/class/db_mysql.php +++ b/bureau/class/db_mysql.php @@ -107,6 +107,9 @@ class DB_Sql { return $this->pdo_instance != FALSE; } + function last_error() { + return $this->error; + } /** * Perform a query *