From df3b43d35601551c3344bf051cdef4ab67de505a Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 14 Feb 2007 01:37:38 +0000 Subject: 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 --- index.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 6ce62cc8a..24dbc20e3 100644 --- a/index.php +++ b/index.php @@ -225,12 +225,7 @@ if ( $page['section']=='search' and $page['start']==0 ) 'related_tags.tag', array( 'URL' => make_index_url( array( - 'tags' => array( - array( - 'id' => $tag['tag_id'], - 'url_name' => $tag['url_name'], - ), - ) + 'tags' => array($tag) ) ), 'NAME' => $tag['name'], -- cgit v1.2.3