Hi! I added a space "...AND deleted=0'.$moreWhereClauses" after the 0, so it's not necessary to start $moreWhereClauses, which is an argument of the function with a space. I think this is trivial and have committed this to trunk and TYPO3_40. Masi