--- class.tslib_content.orig Fri May 29 16:04:17 2009 +++ class.tslib_content.php.new Fri May 29 14:32:20 2009 @@ -7067,15 +7067,9 @@ * @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=318&cHash=a98cb4e7e6 */ function getQuery($table, $conf, $returnQueryArray=FALSE) { - - // stdWrap for $conf-values allowed in $stdWrapAllowedValues - $stdWrapAllowedValues = Array('pidInList.','uidInList.','recursive.','min.','max.'); - foreach ($conf as $k => $v) { - if (in_array($k,$stdWrapAllowedValues) || in_array($k.'.',$stdWrapAllowedValues)) { - preg_match('/(.*?)\./',$k,$r); - $conf[$r[1]] = trim($this->stdWrap($conf[$r[1]],$conf[$k])); - } - } + + // Construct WHERE clause: + $conf['pidInList'] = trim($this->stdWrap($conf['pidInList'],$conf['pidInList.'])); // Handle recursive function for the pidInList if (isset($conf['recursive'])) {