Bug #21026 » 0011917_v1.diff
t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php | ||
---|---|---|
$selectParts = array();
|
||
foreach ($selectFields as $field) {
|
||
if ($field == '') {
|
||
continue;
|
||
}
|
||
$selectParts[] = $field . $likeCondition;
|
||
}
|
||
$this->selectClause = implode(' OR ', $selectParts);
|
||
$this->selectClause = '(' . implode(' OR ', $selectParts) . ')';
|
||
if ($searchUid > 0 && $searchUid == $searchString) {
|
||
$this->selectClause = '(' . $this->selectClause . ' OR uid = ' . $searchUid . ')';
|