array() != null
git-svn-id: file:///home/shish/svn/shimmie2/trunk@319 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
73c437758a
commit
dd0c4692ce
@ -39,7 +39,7 @@ class TagList extends Extension {
|
|||||||
if(is_a($event, 'PostListBuildingEvent')) {
|
if(is_a($event, 'PostListBuildingEvent')) {
|
||||||
global $config;
|
global $config;
|
||||||
if($config->get_int('tag_list_length') > 0) {
|
if($config->get_int('tag_list_length') > 0) {
|
||||||
if(!is_null($event->search_terms)) {
|
if(!empty($event->search_terms)) {
|
||||||
$this->add_refine_block($event->page, $event->search_terms);
|
$this->add_refine_block($event->page, $event->search_terms);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user