diff --git a/include/Database.php b/include/Database.php index c9c38c6..990f28a 100755 --- a/include/Database.php +++ b/include/Database.php @@ -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); }