Commento più informativo
This commit is contained in:
parent
d020af83bb
commit
a740d31050
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue