Bug #80686 ยป patch.diff
typo3/sysext/core/Classes/Database/Query/Restriction/FrontendGroupRestriction.php | ||
---|---|---|
*/
|
||
public function __construct(array $frontendGroupIds = null)
|
||
{
|
||
$this->frontendGroupIds = $frontendGroupIds === null ? explode(',', $GLOBALS['TSFE']->gr_list) : $frontendGroupIds;
|
||
if(is_array($GLOBALS['TSFE']->gr_list)) {
|
||
$this->frontendGroupIds = $frontendGroupIds === null ? explode(',', $GLOBALS['TSFE']->gr_list) : $frontendGroupIds;
|
||
}
|
||
else {
|
||
$this->frontendGroupIds = [];
|
||
}
|
||
}
|
||
/**
|