mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Issue #3258 Array in plugin.xml causing issues.
This commit is contained in:
parent
9c79d04307
commit
526bc06ba0
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user