aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.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/menubar.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 '')
-rw-r--r--include/menubar.inc.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 030c46cbd..d38290704 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -130,12 +130,7 @@ if ('tags' == $page['section'])
array(
'URL' => make_index_url(
array(
- 'tags' => array(
- array(
- 'id' => $tag['tag_id'],
- 'url_name' => $tag['url_name'],
- ),
- )
+ 'tags' => array($tag)
)
),
@@ -154,12 +149,7 @@ if ('tags' == $page['section'])
array(
'tags' => array_merge(
$page['tags'],
- array(
- array(
- 'id' => $tag['tag_id'],
- 'url_name' => $tag['url_name'],
- ),
- )
+ array($tag)
)
)
),