don't show directory keywords widget if globaldir setting is off
This commit is contained in:
parent
4d31d22d5c
commit
32f79374b0
@ -275,6 +275,11 @@ function catblock($uid,$count = 0,$authors = '',$flags = 0,$restrict = 0,$type =
|
||||
function dir_tagblock($link,$r) {
|
||||
$o = '';
|
||||
|
||||
$observer = get_observer_hash();
|
||||
if(! get_globaldir_setting($observer))
|
||||
return $o;
|
||||
|
||||
|
||||
if(! $r)
|
||||
$r = get_app()->data['directory_keywords'];
|
||||
|
||||
|
Reference in New Issue
Block a user