Project

General

Profile

Bug #21026 » 0011917_v1.diff

Administrator Admin, 2009-09-10 15:01

View differences:

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 . ')';
(1-1/2)