1
0
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:
Cameron
2016-03-21 19:15:20 -07:00
parent bf2db49dd1
commit 1d803612ab
5 changed files with 59 additions and 12 deletions

View File

@@ -441,7 +441,12 @@ class e_array {
{
return false;
}
if(strpos($ArrayData,"0 => \'")!=false)
{
$ArrayData = stripslashes($ArrayData);
}
$data = "";
$ArrayData = '$data = '.$ArrayData.';';
@eval($ArrayData);