Actions
Bug #16227
closedtslib_cObj::getTreeList blank before $moreWhereClauses = ',
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-06-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi, sorry for bothering you with this cause it's not really a bug, but when using tslib_cObj::getTreeList you have to put an blank before the argument $moreWhereClauses = ',
I used like this and was wondering why it's not working
tslib_cObj::getTreeList ( $GLOBALS["TSFE"]->id,$descend,0,0,'','AND doktype != 254','',0 );
where as this is working...
tslib_cObj::getTreeList ( $GLOBALS["TSFE"]->id,$descend,0,0,'',' AND doktype != 254','',0 );
perhaps you could just put a blank after the "doktype!=6'"
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($allFields, 'pages', 'pid='.intval($id).' AND deleted=0 AND doktype!=255 AND doktype!=6'.$moreWhereClauses, '' ,'sorting');
(issue imported from #M3648)
Actions