mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Code cleanup
This commit is contained in:
@@ -445,7 +445,7 @@ class e_array {
|
||||
$first2Chars = substr($ArrayData,0,2);
|
||||
if($first2Chars === 'a:' || $first2Chars === 's:') // php serialize.
|
||||
{
|
||||
$dat = unserialize($ArrayData);
|
||||
$dat = unserialize($ArrayData, ['allowed_classes' => false]);
|
||||
$ArrayData = $this->WriteArray($dat,FALSE);
|
||||
}
|
||||
elseif(strpos($ArrayData,'{') === 0 || strpos($ArrayData,'[') === 0) // json
|
||||
|
Reference in New Issue
Block a user