Changeset 29069


Ignore:
Timestamp:
Jul 22, 2014, 1:40:12 AM (10 years ago)
Author:
rvelices
Message:

AdminTools show sql queries option is the first one to be set (before calling build_user in order to see all queries)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/AdminTools/include/MultiView.class.php

    r28692 r29069  
    122122    if ($this->is_admin && script_basename() != 'ws')
    123123    {
     124      // show_queries
     125      if (isset($_GET['ato_show_queries']))
     126      {
     127        $this->data['show_queries'] = (bool)$_GET['ato_show_queries'];
     128      }
     129      $conf['show_queries'] = $this->data['show_queries'];
     130
    124131      if ($this->data['view_as'] == 0)
    125132      {
     
    167174      $user['language'] = $this->data['lang'];
    168175
    169       // show_queries
    170       if (isset($_GET['ato_show_queries']))
    171       {
    172         $this->data['show_queries'] = (bool)$_GET['ato_show_queries'];
    173       }
    174       $conf['show_queries'] = $this->data['show_queries'];
    175 
    176176      // debug_l10n
    177177      if (isset($_GET['ato_debug_l10n']))
Note: See TracChangeset for help on using the changeset viewer.