aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-09 09:09:21 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-09 09:09:21 -0500
commitb58ef116e1157311463ae9c5c313b314764eb9e2 (patch)
tree8061c9ff09a684520cf963636937c99d7cbbb3ec /phpBB/includes/functions_display.php
parent86b801df7304d43f117bea762710149c25385260 (diff)
parent8a91598b14e0c638a7674294790a3f4079c58758 (diff)
downloadforums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar.gz
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar.bz2
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar.xz
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.zip
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11103
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 881c95907b..8328b9ee7a 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1410,7 +1410,8 @@ function phpbb_gen_download_links($param_key, $param_val, $phpbb_root_path, $php
foreach ($methods as $method)
{
- $type = array_pop(explode('.', $method));
+ $exploded = explode('.', $method);
+ $type = array_pop($exploded);
$params = array('archive' => $method);
$params[$param_key] = $param_val;