Index: t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php =================================================================== --- t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (revision 7802) +++ t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (working copy) @@ -234,8 +234,11 @@ $searchString = $this->params['value']; $searchUid = intval($searchString); if (strlen($searchString)) { - $likeCondition = ' LIKE \'' . ($searchWholePhrase ? '%' : '') . - $GLOBALS['TYPO3_DB']->escapeStrForLike($searchString, $this->table).'%\''; + $likeCondition = ' LIKE ' . $GLOBALS['TYPO3_DB']->fullQuoteStr( + ($searchWholePhrase ? '%' : '') . + $GLOBALS['TYPO3_DB']->escapeStrForLike($searchString, $this->table) . '%', + $this->table + ); // Search in all fields given by label or label_alt $selectFieldsList = $GLOBALS['TCA'][$this->table]['ctrl']['label'] . ',' . $GLOBALS['TCA'][$this->table]['ctrl']['label_alt'];