1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00

[ticket/11092] phpbb_gen_download_links strict standards errors

Two strict standards errors in phpbb_gen_download_links

PHPBB3-11092
This commit is contained in:
Nathan Guse
2012-09-06 18:27:49 -05:00
parent 81f7f28cc3
commit c93b3827dc
2 changed files with 5 additions and 2 deletions

View File

@@ -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;