Project

General

Profile

Bug #21075 » 11980_v3.diff

Administrator Admin, 2009-10-26 14:47

View differences:

t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (Arbeitskopie)
*
* @param array $params
* @param object $ref the parent object
* @return mixed array of rows or false if nothing found
* @return array array of rows
*/
public function queryTable(&$params, $recursionCounter = 0) {
$rows = array();
......
$tmp = self::queryTable($params, ++$recursionCounter);
$rows = array_merge($tmp, $rows);
}
return $rows;
} else {
return false;
}
return $rows;
}
/**
t3lib/tceforms/class.t3lib_tceforms_suggest.php (Arbeitskopie)
$params = array('value' => $search);
$rows = $receiverObj->queryTable($params);
if (!$rows) {
if (empty($rows)) {
continue;
}
$resultRows = t3lib_div::array_merge($resultRows, $rows);
(2-2/2)