1
1
Fork 0

no pagination on search page

This commit is contained in:
Friendika 2010-11-24 18:37:10 -08:00
parent 48eab3e99c
commit d855371fa5
2 changed files with 6 additions and 1 deletions

View file

@ -1375,8 +1375,10 @@ function get_tags($s) {
$ret = array();
if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$s,$match)) {
foreach($match[1] as $match) {
if(strstr($match,"]"))
if(strstr($match,"]")) {
// we might be inside a bbcode color tag - leave it alone
continue;
}
if(substr($match,-1,1) === '.')
$ret[] = substr($match,0,-1);
else

View file

@ -117,6 +117,9 @@ function search_content(&$a) {
}
}
$o .= paginate($a);
return $o;
}