aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-09-26 14:09:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-09-26 14:09:40 +0000
commitcb85c2c57cd7d6bfd93950f993125d4a6771e65e (patch)
tree239adee5f246e4fd3574fe18dcbbea167a273b44
parentb92998f31a4719abe196c4185eee00dacdce9208 (diff)
downloadforums-cb85c2c57cd7d6bfd93950f993125d4a6771e65e.tar
forums-cb85c2c57cd7d6bfd93950f993125d4a6771e65e.tar.gz
forums-cb85c2c57cd7d6bfd93950f993125d4a6771e65e.tar.bz2
forums-cb85c2c57cd7d6bfd93950f993125d4a6771e65e.tar.xz
forums-cb85c2c57cd7d6bfd93950f993125d4a6771e65e.zip
#14559
git-svn-id: file:///svn/phpbb/trunk@8112 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/acp/acp_icons.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_icons.php b/phpBB/includes/acp/acp_icons.php
index 24d65bf02c..a024e09e84 100644
--- a/phpBB/includes/acp/acp_icons.php
+++ b/phpBB/includes/acp/acp_icons.php
@@ -30,6 +30,8 @@ class acp_icons
$action = (isset($_POST['import'])) ? 'import' : $action;
$icon_id = request_var('id', 0);
+ $mode = ($mode == 'smilies') ? 'smilies' : 'icons';
+
$this->tpl_name = 'acp_icons';
// What are we working on?
@@ -658,8 +660,8 @@ class acp_icons
header('Pragma: public');
// Send out the Headers
- header('Content-Type: text/x-delimtext; name="' . $fields . '.pak"');
- header('Content-Disposition: inline; filename="' . $fields . '.pak"');
+ header('Content-Type: text/x-delimtext; name="' . $mode . '.pak"');
+ header('Content-Disposition: inline; filename="' . $mode . '.pak"');
echo $pak;
flush();