tag ignore list
[phpfspot.git] / phpfspot.class.php
index 3f7a7280253b04cdd44110ee3188ee7560610882..f405626dc4f573f3f922f427e4512ed56457ead8 100644 (file)
@@ -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;