aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-02-14 01:37:38 +0000
committerrvelices <rv-github@modusoptimus.com>2007-02-14 01:37:38 +0000
commitdf3b43d35601551c3344bf051cdef4ab67de505a (patch)
treef6b9efcb3fb2ba3c2df375fd15e4a2b116b6adce /include/functions_html.inc.php
parent711ebcbf2c1906b6496711eb6973954ecb113d72 (diff)
tags returned by get_all_tags, get_available_tags contain id key instead of tag_id
(as expected by make_index_url, as $page['tags'] was and as the database model is) git-svn-id: http://piwigo.org/svn/trunk@1815 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r--include/functions_html.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 490def9ed..3aba87d61 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -558,10 +558,10 @@ function get_html_tag_selection(
'<li>'
.'<label>'
.'<input type="checkbox" name="'.$fieldname.'[]"'
- .' value="'.$tag['tag_id'].'"'
+ .' value="'.$tag['id'].'"'
;
- if (in_array($tag['tag_id'], $selecteds))
+ if (in_array($tag['id'], $selecteds))
{
$output.= ' checked="checked"';
}