array() != null

git-svn-id: file:///home/shish/svn/shimmie2/trunk@319 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-17 18:10:38 +00:00
parent 73c437758a
commit dd0c4692ce

View File

@ -39,7 +39,7 @@ class TagList extends Extension {
if(is_a($event, 'PostListBuildingEvent')) {
global $config;
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);
}
else {