mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Legacy fixes.
This commit is contained in:
@@ -5,6 +5,11 @@
|
|||||||
* Time: 11:46 AM
|
* Time: 11:46 AM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Legacy Fix.
|
||||||
|
define('MYSQL_ASSOC', 'assoc');
|
||||||
|
define('MYSQL_NUM', 'num');
|
||||||
|
define('MYSQL_BOTH', 'both');
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PDO MySQL class. All legacy mysql_ methods removed.
|
* PDO MySQL class. All legacy mysql_ methods removed.
|
||||||
@@ -2104,7 +2109,7 @@ class e_db_pdo implements e_db
|
|||||||
* @param $table
|
* @param $table
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function isEmpty($table)
|
function isEmpty($table=null)
|
||||||
{
|
{
|
||||||
if(empty($table))
|
if(empty($table))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user