mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Prevent old corrupted linkword prefs from breaking site. ie. CRITICAL ERROR 3 and 4.
This commit is contained in:
@@ -486,7 +486,7 @@ class e_array {
|
||||
{
|
||||
$ArrayData = stripslashes($ArrayData);
|
||||
}
|
||||
elseif(strpos($ArrayData,'array') === 0 && strpos($ArrayData,"\' => \'") !== false)
|
||||
elseif(strpos($ArrayData,'array') === 0 && strpos($ArrayData,"\' => \'") !== false && strpos($ArrayData,"' => 'array") === false) // FIX for old corrupted link-words preference.
|
||||
{
|
||||
$ArrayData = stripslashes($ArrayData);
|
||||
}
|
||||
|
Reference in New Issue
Block a user