1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Closes #1801 Code cleanup. Deprecated method errors added.

This commit is contained in:
Cameron
2020-12-22 14:48:28 -08:00
parent 881670d92c
commit 402d1f4126
37 changed files with 347 additions and 393 deletions

View File

@@ -1097,7 +1097,7 @@ class e_db_mysql implements e_db
case 'array':
if(is_array($fieldValue))
{
return "'".e107::getArrayStorage()->WriteArray($fieldValue, true)."'";
return "'".e107::serialize($fieldValue, true)."'";
}
return "'". (string) $fieldValue."'";
break;
@@ -2000,10 +2000,10 @@ class e_db_mysql implements e_db
*/
function escape($data, $strip = true)
{
if ($strip)
/* if ($strip)
{
$data = strip_if_magic($data);
}
}*/
$this->provide_mySQLaccess();