Project

General

Profile

Bug #80686 ยป patch.diff

Anonymous, 2017-04-05 10:19

View differences:

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 = [];
}
}
/**
    (1-1/1)