summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 3f7a728..f405626 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -57,6 +57,10 @@ class PHPFSPOT {
$tag_id = $row['id'];
$tag_name = $row['name'];
+ /* check if config requests to ignore this tag */
+ if(in_array($row['name'], $this->cfg->hide_tags))
+ continue;
+
$this->tags[$tag_id] = $tag_name;
$this->avail_tags[$count] = $tag_id;