aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/AdminTools/include/MultiView.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AdminTools/include/MultiView.class.php')
-rw-r--r--plugins/AdminTools/include/MultiView.class.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/AdminTools/include/MultiView.class.php b/plugins/AdminTools/include/MultiView.class.php
index 21c2560fa..889ba457f 100644
--- a/plugins/AdminTools/include/MultiView.class.php
+++ b/plugins/AdminTools/include/MultiView.class.php
@@ -121,6 +121,13 @@ class MultiView
// inactive on ws.php to allow AJAX admin tasks
if ($this->is_admin && script_basename() != 'ws')
{
+ // show_queries
+ if (isset($_GET['ato_show_queries']))
+ {
+ $this->data['show_queries'] = (bool)$_GET['ato_show_queries'];
+ }
+ $conf['show_queries'] = $this->data['show_queries'];
+
if ($this->data['view_as'] == 0)
{
$this->data['view_as'] = $user['id'];
@@ -166,13 +173,6 @@ class MultiView
}
$user['language'] = $this->data['lang'];
- // show_queries
- if (isset($_GET['ato_show_queries']))
- {
- $this->data['show_queries'] = (bool)$_GET['ato_show_queries'];
- }
- $conf['show_queries'] = $this->data['show_queries'];
-
// debug_l10n
if (isset($_GET['ato_debug_l10n']))
{