no pagination on search page
This commit is contained in:
parent
48eab3e99c
commit
d855371fa5
4
boot.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
|
||||
|
|
|
@ -117,6 +117,9 @@ function search_content(&$a) {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
$o .= paginate($a);
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user