From 3f6b85d5486469cd98661904266606f4387d5a16 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 13 Apr 2008 06:53:01 +0200 Subject: [PATCH] issue116, do not show hidden tags in the photo-details box Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index 0615cff..a279eff 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -1970,8 +1970,11 @@ class PHPFSPOT { $tags = Array(); - while($row = $this->db->db_fetch_object($result)) + while($row = $this->db->db_fetch_object($result)) { + if(isset($this->cfg->hide_tags) && in_array($row['name'], $this->cfg->hide_tags)) + continue; $tags[$row['id']] = $row['name']; + } return $tags; -- 2.17.1