diff options
author | Chris Smith <toonarmy@phpbb.com> | 2011-11-18 21:29:02 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2011-11-18 21:29:02 +0000 |
commit | 810016ce944a0fbec70187c9d87c9124ecdccb3a (patch) | |
tree | 82f11d913bf3da6cc6c6593699376fd9b0248a88 /phpBB/includes/acp/acp_database.php | |
parent | a1febdd4290cf2b5aabf5fe6b656da1b3ad4f4c9 (diff) | |
download | forums-810016ce944a0fbec70187c9d87c9124ecdccb3a.tar forums-810016ce944a0fbec70187c9d87c9124ecdccb3a.tar.gz forums-810016ce944a0fbec70187c9d87c9124ecdccb3a.tar.bz2 forums-810016ce944a0fbec70187c9d87c9124ecdccb3a.tar.xz forums-810016ce944a0fbec70187c9d87c9124ecdccb3a.zip |
[ticket/10239] Correct undefined variable error.
PHPBB3-10239
Diffstat (limited to 'phpBB/includes/acp/acp_database.php')
-rw-r--r-- | phpBB/includes/acp/acp_database.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php index 1bf10b0e57..62bcd43a47 100644 --- a/phpBB/includes/acp/acp_database.php +++ b/phpBB/includes/acp/acp_database.php @@ -221,6 +221,7 @@ class acp_database case 'submit': $delete = request_var('delete', ''); $file = request_var('file', ''); + $download = request_var('download', ''); if (!preg_match('#^backup_\d{10,}_[a-z\d]{16}\.(sql(?:\.(?:gz|bz2))?)$#', $file, $matches)) { @@ -249,8 +250,6 @@ class acp_database } else if ($download || confirm_box(true)) { - $download = request_var('download', ''); - if ($download) { $name = $matches[0]; |