diff options
Diffstat (limited to 'tags.php')
-rw-r--r-- | tags.php | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org | +// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org | // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | // +-----------------------------------------------------------------------+ @@ -131,17 +131,10 @@ if ($page['display_mode'] == 'letters') { ); } - array_push( - $letter['tags'], - array_merge( - $tag, - array( - 'URL' => make_index_url( - array( - 'tags' => array($tag), - ) - ), - ) + $letter['tags'][] = array_merge( + $tag, + array( + 'URL' => make_index_url(array('tags' => array($tag))), ) ); |