1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Legacy fixes.

This commit is contained in:
Cameron
2019-02-11 12:22:10 -08:00
parent 6cb92a37a7
commit d9512cfb1b

View File

@@ -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))
{ {