missing paren

This commit is contained in:
friendica 2012-06-20 16:07:41 -07:00
parent 0f0e5be549
commit 03c05d8a28

View File

@ -482,7 +482,7 @@ function contacts_content(&$a) {
$searching = false;
if($search) {
$search_hdr = $search;
$search = dbesc(protect_sprintf('%' . $search . '%');
$search = dbesc(protect_sprintf('%' . $search . '%'));
$searching = true;
}
$sql_extra .= (($searching) ? " AND `name` REGEXP '$search' " : "");