1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-08 08:42:41 +02:00

Bugtracker #3975 - error checking never executed

This commit is contained in:
e107steved
2007-06-08 20:56:53 +00:00
parent fb70e3f0ba
commit 21b03a5bc8

View File

@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $
| $Revision: 1.12 $ | $Revision: 1.13 $
| $Date: 2007-04-24 19:40:22 $ | $Date: 2007-06-08 20:56:53 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@ -27,7 +27,7 @@ $db_mySQLQueryCount = 0; // Global total number of db object queries (all db's)
* MySQL Abstraction class * MySQL Abstraction class
* *
* @package e107 * @package e107
* @version $Revision: 1.12 $ * @version $Revision: 1.13 $
* @author $Author: e107steved $ * @author $Author: e107steved $
*/ */
class db { class db {
@ -475,8 +475,8 @@ class db {
*/ */
function db_Rows() { function db_Rows() {
$rows = $this->mySQLrows = @mysql_num_rows($this->mySQLresult); $rows = $this->mySQLrows = @mysql_num_rows($this->mySQLresult);
return $rows;
$this->dbError('db_Rows'); $this->dbError('db_Rows');
return $rows;
} }
/** /**