projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e173051
)
issue116, do not show hidden tags in the photo-details box
author
Andreas Unterkircher
<unki@netshadow.at>
Sun, 13 Apr 2008 04:53:01 +0000
(06:53 +0200)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sun, 13 Apr 2008 04:53:01 +0000
(06:53 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 0615cff77a5d7742cc29461b42cf2cf4e8c54b13..a279effe0555b3a3dacf316f70d86eb4f7f34bb1 100644
(file)
--- 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;