Browse Source

no pagination on search page

pull/1/head
Friendika 12 years ago
parent
commit
d855371fa5
  1. 4
      boot.php
  2. 3
      mod/search.php

4
boot.php

@ -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

3
mod/search.php

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

Loading…
Cancel
Save