1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

PDO Fix for saving of e107::serialize() data. Saving of Extended Field data now working correctly.

This commit is contained in:
Cameron
2016-03-22 21:11:47 -07:00
parent 846be2c23c
commit e930ee68f1
4 changed files with 13 additions and 5 deletions

View File

@@ -447,8 +447,13 @@ class e_array {
$ArrayData = stripslashes($ArrayData);
}
$ArrayData = str_replace('=>','=>',$ArrayData); //FIX for PDO encoding of strings. .
$data = "";
$ArrayData = '$data = '.$ArrayData.';';
@eval($ArrayData);
if (!isset($data) || !is_array($data))
{