diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-04-13 06:53:01 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-04-13 06:53:01 +0200 |
commit | 3f6b85d5486469cd98661904266606f4387d5a16 (patch) | |
tree | e18d3e75ffbe125cc13c9ea6cf1fbf63cdedbf4e | |
parent | e173051918510189344372c75f16a5ded0d7a5ea (diff) |
issue116, do not show hidden tags in the photo-details box
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r-- | phpfspot.class.php | 5 |
1 files changed, 4 insertions, 1 deletions
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; |