mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +02:00
Notice removal
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
* mySQL Handler
|
* mySQL Handler
|
||||||
*
|
*
|
||||||
* $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.55 $
|
* $Revision: 1.56 $
|
||||||
* $Date: 2009-09-21 22:50:07 $
|
* $Date: 2009-10-03 14:54:46 $
|
||||||
* $Author: e107coders $
|
* $Author: e107steved $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if(defined('MYSQL_LIGHT'))
|
if(defined('MYSQL_LIGHT'))
|
||||||
@@ -49,8 +49,8 @@ $db_ConnectionID = NULL; // Stores ID for the first DB connection used - which s
|
|||||||
*
|
*
|
||||||
* @package e107
|
* @package e107
|
||||||
* @category e107_handlers
|
* @category e107_handlers
|
||||||
* @version $Revision: 1.55 $
|
* @version $Revision: 1.56 $
|
||||||
* @author $Author: e107coders $
|
* @author $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class e_db_mysql {
|
class e_db_mysql {
|
||||||
@@ -655,17 +655,14 @@ class e_db_mysql {
|
|||||||
{
|
{
|
||||||
$row = @mysql_fetch_array($this->mySQLresult,$type);
|
$row = @mysql_fetch_array($this->mySQLresult,$type);
|
||||||
e107::getSingleton('e107_traffic')->Bump('db_Fetch', $b);
|
e107::getSingleton('e107_traffic')->Bump('db_Fetch', $b);
|
||||||
|
if ($row)
|
||||||
|
{
|
||||||
|
$this->dbError('db_Fetch');
|
||||||
|
return $row; // Success - return data
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($row)
|
$this->dbError('db_Fetch');
|
||||||
{
|
return FALSE; // Failure
|
||||||
$this->dbError('db_Fetch');
|
|
||||||
return $row;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$this->dbError('db_Fetch');
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user