mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
PHP7 User-Extended Fix. Checkboxes now working correctly and saving as an array. Some BC fixes may be needed.
This commit is contained in:
@@ -441,7 +441,12 @@ class e_array {
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if(strpos($ArrayData,"0 => \'")!=false)
|
||||
{
|
||||
$ArrayData = stripslashes($ArrayData);
|
||||
}
|
||||
|
||||
$data = "";
|
||||
$ArrayData = '$data = '.$ArrayData.';';
|
||||
@eval($ArrayData);
|
||||
|
Reference in New Issue
Block a user