Project

General

Profile

Bug #21075 » 11980.diff

Administrator Admin, 2009-09-16 21:25

View differences:

t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (working copy)
*
* @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 (working copy)
$params = array('value' => $search);
$rows = $receiverObj->queryTable($params);
if (!$rows) {
if (!count($rows)) {
continue;
}
$resultRows = t3lib_div::array_merge($resultRows, $rows);
(1-1/2)