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();
|
$ret = array();
|
||||||
if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$s,$match)) {
|
if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$s,$match)) {
|
||||||
foreach($match[1] as $match) {
|
foreach($match[1] as $match) {
|
||||||
if(strstr($match,"]"))
|
if(strstr($match,"]")) {
|
||||||
|
// we might be inside a bbcode color tag - leave it alone
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
if(substr($match,-1,1) === '.')
|
if(substr($match,-1,1) === '.')
|
||||||
$ret[] = substr($match,0,-1);
|
$ret[] = substr($match,0,-1);
|
||||||
else
|
else
|
||||||
|
|
|
@ -117,6 +117,9 @@ function search_content(&$a) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$o .= paginate($a);
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user