aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-08-03 01:03:17 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-08-03 01:03:17 +0000
commit4255736e2394210ebee055fad8b917c06206801e (patch)
treeec604437400530bcc71749d2497e3e4017ee162d /phpBB
parent8b0b59594d4b086da94561fdc0537712d7121d7f (diff)
downloadforums-4255736e2394210ebee055fad8b917c06206801e.tar
forums-4255736e2394210ebee055fad8b917c06206801e.tar.gz
forums-4255736e2394210ebee055fad8b917c06206801e.tar.bz2
forums-4255736e2394210ebee055fad8b917c06206801e.tar.xz
forums-4255736e2394210ebee055fad8b917c06206801e.zip
AAAAAAAAAAARGH! I'm going to bed now..
git-svn-id: file:///svn/phpbb/trunk@804 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/admin/admin_db_utilities.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/admin/admin_db_utilities.php b/phpBB/admin/admin_db_utilities.php
index 7f84d78c9f..350012cca0 100644
--- a/phpBB/admin/admin_db_utilities.php
+++ b/phpBB/admin/admin_db_utilities.php
@@ -727,7 +727,10 @@ if( isset($HTTP_GET_VARS['perform']) || isset($HTTP_POST_VARS['perform']) )
{
$perform = (isset($HTTP_POST_VARS['perform'])) ? $HTTP_POST_VARS['perform'] : $HTTP_GET_VARS['perform'];
- if( $perform == 'backup' && !isset($HTTP_POST_VARS['startdownload']) && !isset($HTTP_GET_VARS['startdownload']) )
+ if( $perform == 'backup'
+ && ( isset($HTTP_POST_VARS['backupstart']) || isset($HTTP_GET_VARS['backupstart']) )
+ && !isset($HTTP_POST_VARS['startdownload']) && !isset($HTTP_GET_VARS['startdownload'])
+ )
{
// We want to warn the user before the download starts.. This part of the script
// needs a META header so we can't include the header yet.