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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user