diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/taxonomy.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index 4333cdf03..fa540ac56 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -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']; |