Index: t3lib/class.t3lib_sqlparser.php =================================================================== --- t3lib/class.t3lib_sqlparser.php (revision 6888) +++ t3lib/class.t3lib_sqlparser.php (working copy) @@ -1041,10 +1041,10 @@ // - "/" (division) // - "%" (modulo) $calcOperators = '&|\+|-|\*|\/|%'; - + // Fieldname: - if ($fieldName = $this->nextPart($parseString, '^([[:alnum:]._]+)([[:space:]]+|' . $calcOperators . '|<=|>=|<|>|=|!=|IS)')) { - + if (($fieldName = $this->nextPart($parseString, '^([[:alnum:]._]+)([[:space:]]+|' . $calcOperators . '|<=|>=|<|>|=|!=|IS)')) !== '') { + // Parse field name into field and table: $tableField = explode('.', $fieldName, 2); if (count($tableField) == 2) {