getSearchSql -> search_to_sql

This commit is contained in:
Andrew Dolgov 2011-04-18 13:40:17 +04:00
parent 85ebaa7aab
commit b7d1a163c6
1 changed files with 2 additions and 2 deletions

View File

@ -3331,7 +3331,7 @@
return $data; return $data;
} }
function getSearchSql($link, $search, $match_on) { function search_to_sql($link, $search, $match_on) {
$search_query_part = ""; $search_query_part = "";
@ -3386,7 +3386,7 @@
$search_query_part = "ref_id = -1 AND "; $search_query_part = "ref_id = -1 AND ";
} else { } else {
$search_query_part = getSearchSql($link, $search, $match_on); $search_query_part = search_to_sql($link, $search, $match_on);
$search_query_part .= " AND "; $search_query_part .= " AND ";
} }