diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-16 02:45:06 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-16 02:45:06 +0000 |
commit | 9e9710dc211dc7c283697618d9419cb2cc80b710 (patch) | |
tree | 25b9bc041fcee44ddebc157391d3e49dac87c1dc /phpBB/admin | |
parent | c4c1da86c95fa47f7d253da1842c101deea5c8a9 (diff) | |
download | forums-9e9710dc211dc7c283697618d9419cb2cc80b710.tar forums-9e9710dc211dc7c283697618d9419cb2cc80b710.tar.gz forums-9e9710dc211dc7c283697618d9419cb2cc80b710.tar.bz2 forums-9e9710dc211dc7c283697618d9419cb2cc80b710.tar.xz forums-9e9710dc211dc7c283697618d9419cb2cc80b710.zip |
Hopefully fixed bug #491971
git-svn-id: file:///svn/phpbb/trunk@1603 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin')
-rw-r--r-- | phpBB/admin/admin_styles.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/admin/admin_styles.php b/phpBB/admin/admin_styles.php index 12459e5638..df65195d3c 100644 --- a/phpBB/admin/admin_styles.php +++ b/phpBB/admin/admin_styles.php @@ -41,14 +41,15 @@ $phpbb_root_dir = "./../"; $confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE; $cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE; -if( $cancel ) +if( !$HTTP_POST_VARS['send_file'] ) { - header("Location: " . append_sid("admin_styles.$phpEx")); + $no_page_header = ( $cancel ) ? TRUE : FALSE; + require('pagestart.inc'); } -if( !$HTTP_POST_VARS['send_file'] ) +if( $cancel ) { - require('pagestart.inc'); + header("Location: " . append_sid("admin_styles.$phpEx")); } if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) |