aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/dbal.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-09-22 21:58:20 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-09-25 20:32:15 +0200
commitfccd7f0ab5ab559dc89be6af9e582a986af8bb13 (patch)
tree65b2c96dc13203a75f104d3ee2b79b0756bc4631 /phpBB/includes/db/dbal.php
parent15883dfac22c8a5660c0400c565ba980eaf6f618 (diff)
downloadforums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.gz
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.bz2
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.xz
forums-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.zip
[feature/request-class] Convert any direct access to $_* to use $request
PHPBB3-9716
Diffstat (limited to 'phpBB/includes/db/dbal.php')
-rw-r--r--phpBB/includes/db/dbal.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php
index eeddf1f41b..9a0e9f1b55 100644
--- a/phpBB/includes/db/dbal.php
+++ b/phpBB/includes/db/dbal.php
@@ -711,8 +711,9 @@ class dbal
function sql_report($mode, $query = '')
{
global $cache, $starttime, $phpbb_root_path, $user;
+ global $request;
- if (empty($_REQUEST['explain']))
+ if (!$request->variable('explain', false))
{
return false;
}