diff --git a/ChangeLog b/ChangeLog index b9808622..ca5fa11d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 1.9.41 Frontend: + * FIX: Fix PHP 5.4 compatibility issue (syntax error, unexpected 'list') * Added option "line_width" to default section of global config * FIX: Fix failing reporting of errors when messages contained special characters diff --git a/share/server/core/classes/CoreModMultisite.php b/share/server/core/classes/CoreModMultisite.php index f6c0b609..c546c951 100644 --- a/share/server/core/classes/CoreModMultisite.php +++ b/share/server/core/classes/CoreModMultisite.php @@ -223,7 +223,9 @@ private function getMaps($maps) { $_BACKEND->execute(); $aMaps = Array(); - foreach($aObjs AS list($MAP, $state)) { + foreach($aObjs AS $aObj) { + $MAP = $aObj[0]; + $state = $aObj[1]; if ($state !== null) { $MAP->clearMembers(); $MAP->setState($state);