From a740d310509b8f9d109ed0d174bdf5d5b41482cf Mon Sep 17 00:00:00 2001 From: gine Date: Sun, 4 Sep 2016 16:44:17 +0200 Subject: [PATCH] =?UTF-8?q?Commento=20pi=C3=B9=20informativo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/Database.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }