You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I18N Special Pages has a getFields method which expects the $data_index object to be a SimpleXML object:
// i18n_specialpages/specialpages.class.php// at roughly line 275 ($data is $data_index)foreach ($data->children() as$child) {
if (!in_array($child->getName(), $stdfields) && (string) $child) {
$fields[$child->getName()] = (string) $child;
}
}
The current FrontRouter code makes $data_index a plain object by merging two (cast) arrays, so the merge should instead just bolt these properties on, instead of doing a full merge.
The text was updated successfully, but these errors were encountered:
Example
I18N Special Pages has a
getFields
method which expects the$data_index
object to be a SimpleXML object:The current FrontRouter code makes
$data_index
a plain object by merging two (cast) arrays, so the merge should instead just bolt these properties on, instead of doing a full merge.The text was updated successfully, but these errors were encountered: