make tag searches work at least as well as the normal search - which still is quite broken, but at least return some results without introducing too many security holes

This commit is contained in:
friendica 2013-06-20 17:09:11 -07:00
parent 95d7514633
commit dd9d32bcb3

View File

@ -171,7 +171,7 @@ function search_content(&$a,$update = 0, $load = false) {
'$nouveau' => '0',
'$wall' => '0',
'$page' => (($a->pager['page'] != 1) ? $a->pager['page'] : 1),
'$search' => (($tag) ? '#' : '') . $search,
'$search' => (($tag) ? urlencode('#') : '') . $search,
'$order' => '',
'$file' => '',
'$cats' => '',