mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Issue #3258 Array in plugin.xml causing issues.
This commit is contained in:
@@ -3651,7 +3651,6 @@ class e107plugin
|
||||
{
|
||||
$this->log("Running ".__FUNCTION__);
|
||||
//XXX Could also be used for theme prefs.. perhaps this function should be moved elsewhere?
|
||||
//TODO array support for prefs. <key>? or array() as used in xml site export?
|
||||
|
||||
$mes = e107::getMessage();
|
||||
|
||||
@@ -3675,6 +3674,10 @@ class e107plugin
|
||||
{
|
||||
$value = constant($value);
|
||||
}
|
||||
elseif($tmp = e107::unserialize($value)) // check for array data and convert when required. .
|
||||
{
|
||||
$value = $tmp;
|
||||
}
|
||||
|
||||
$remove = (varset($tag['@attributes']['deprecate']) == 'true') ? TRUE : FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user