aboutsummaryrefslogtreecommitdiffstats
path: root/tags.php
diff options
context:
space:
mode:
Diffstat (limited to 'tags.php')
-rw-r--r--tags.php17
1 files changed, 5 insertions, 12 deletions
diff --git a/tags.php b/tags.php
index 2a7a0d83b..dea490056 100644
--- a/tags.php
+++ b/tags.php
@@ -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))),
)
);