mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
Removed bad e_LEGACY_MODE implementation
e_LEGACY_MODE caused the query results from e_db_pdo and e_db_mysql to return different styles (MYSQL_BOTH and MYSQL_ASSOC, respectively). To resolve this inconsistency, e_LEGACY_MODE has been removed from the e107 core.
This commit is contained in:
@@ -405,7 +405,7 @@
|
||||
unset($actual[$unimportant_key]);
|
||||
}
|
||||
|
||||
// Filter out cruft from e_LEGACY_MODE database output
|
||||
// Filter out cruft from MYSQL_BOTH database output
|
||||
foreach ($actual as $key => $value)
|
||||
{
|
||||
if (is_int($key)) unset($actual[$key]);
|
||||
|
Reference in New Issue
Block a user