Commento più informativo

This commit is contained in:
gine 2016-09-04 16:44:17 +02:00
parent d020af83bb
commit a740d31050

View file

@ -265,10 +265,9 @@ class Database {
*/
function execQuery($sql) {
$this->last_query = $sql;
$r = mysqli_query($this->db_link,$sql);
if (!$r)
$this->callException(_("Query error."),E_DB_ERR);
$this->callException(_("Exec Query error."),E_DB_ERR);
return $this->row_count = mysqli_affected_rows($this->db_link);
}