diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 22:17:10 +0300 |
---|---|---|
committer | StyleCI Bot <bot@styleci.io> | 2018-02-15 22:17:10 +0300 |
commit | b0dfd36560280099ec02aac7e46f4c36166f0b7e (patch) | |
tree | b338938e9412d108e1e4bb60e4ea59d33cbc6f7d /src/controllers/SqleditController.php | |
parent | b4944af333e89b9aa9d3bb5e975a4787599a40fc (diff) |
Apply fixes from StyleCI
[ci skip] [skip ci]
Diffstat (limited to 'src/controllers/SqleditController.php')
-rw-r--r-- | src/controllers/SqleditController.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/controllers/SqleditController.php b/src/controllers/SqleditController.php index 4d571a69..c82f6a73 100644 --- a/src/controllers/SqleditController.php +++ b/src/controllers/SqleditController.php @@ -12,8 +12,8 @@ namespace PHPPgAdmin\Controller; class SqleditController extends BaseController { public $controller_name = 'SqleditController'; - public $query = ''; - public $subject = ''; + public $query = ''; + public $subject = ''; public $start_time; public $duration; @@ -26,17 +26,17 @@ class SqleditController extends BaseController $lang = $this->lang; $action = $this->action; - $data = $this->misc->getDatabaseAccessor(); + $data = $this->misc->getDatabaseAccessor(); switch ($action) { case 'find': - $title = $this->lang['strfind']; + $title = $this->lang['strfind']; $body_text = $this->doFind(); break; case 'sql': default: - $title = $this->lang['strsql']; + $title = $this->lang['strsql']; $body_text = $this->doDefault(); break; @@ -71,7 +71,7 @@ class SqleditController extends BaseController $_REQUEST['search_path'] = implode(',', $data->getSearchPath()); } $search_path = htmlspecialchars($_REQUEST['search_path']); - $sqlquery = htmlspecialchars($_SESSION['sqlquery']); + $sqlquery = htmlspecialchars($_SESSION['sqlquery']); $default_html = $this->printTabs($this->misc->getNavTabs('popup'), 'sql', false); |