diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-09 09:09:21 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-09 09:09:21 -0500 |
commit | b58ef116e1157311463ae9c5c313b314764eb9e2 (patch) | |
tree | 8061c9ff09a684520cf963636937c99d7cbbb3ec /phpBB/includes/functions_display.php | |
parent | 86b801df7304d43f117bea762710149c25385260 (diff) | |
parent | 8a91598b14e0c638a7674294790a3f4079c58758 (diff) | |
download | forums-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.php | 3 |
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; |