Actions
Bug #17135
closedUpdate from 4.0.5 to 4.1.0 broke my site
Start date:
2007-03-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Fatal error: Call to undefined function: getmultiplegroupswhereclause() in /typo3_src-4.1/t3lib/class.t3lib_page.php on line 998
I do not know what happens by now, but perhaps there is an extension which is extending the t3lib_page.php? I do not know.
some suggestions where i should look for?
thanks,
martin
quick fix for me:
Line 998:
// $query.= $this->getMultipleGroupsWhereClause($field, $table);
// copying the code from getMultipleGroupsWhereClause
$memberGroups = t3lib_div::intExplode(',',$GLOBALS['TSFE']->gr_list);
$orChecks=array();
$orChecks[]=$field.'=\'\''; // If the field is empty, then OK
$orChecks[]=$field.' IS NULL'; // If the field is NULL, then OK
$orChecks[]=$field.'=\'0\''; // If the field contsains zero, then OK
foreach($memberGroups as $value) {
$orChecks[] = $GLOBALS['TYPO3_DB']->listQuery($field, $value, $table);
}
$query.= ' AND ('.implode(' OR ',$orChecks).')';
(issue imported from #M5265)
Actions