Index: branches/5.2.x/core/units/helpers/search_helper.php =================================================================== diff -u -N -r14598 -r14699 --- branches/5.2.x/core/units/helpers/search_helper.php (.../search_helper.php) (revision 14598) +++ branches/5.2.x/core/units/helpers/search_helper.php (.../search_helper.php) (revision 14699) @@ -1,6 +1,6 @@ getObject(); - /* @var $object kDBItem */ + /* @var $object kDBList */ foreach ($search_fields as $search_field) { $custom_search = isset($custom_filter[$search_field]); @@ -251,7 +251,7 @@ * Returns search clause for any particular field * * @param kDBList $object - * @param string $search_field + * @param string $field_name * @param string $search_keyword what we are searching (false, when building custom filter clause) * @param string $custom_search already found using custom filter * @return Array @@ -383,8 +383,8 @@ /** * Processes custom filters from submit * - * @param KEvent $event - * @return bool + * @param kEvent $event + * @return Array|bool */ function processCustomFilters(&$event) { @@ -739,7 +739,7 @@ if ( $types ) { $types = explode(',', $types); - + foreach ($types as $type) { $type = trim($type);