diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 22:10:28 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 22:10:28 +0300 |
commit | 8c47e1b02e634855c2327c07a2770bd910072d70 (patch) | |
tree | 27f86a53d1a843aead5dd767ad2a9c9bf001d26d /src/controllers/SqleditController.php | |
parent | d255f96bc2307c5b543b316ff07507267ca1b30e (diff) |
csfixer to other folders
Diffstat (limited to 'src/controllers/SqleditController.php')
-rw-r--r-- | src/controllers/SqleditController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controllers/SqleditController.php b/src/controllers/SqleditController.php index dba1cb06..88296056 100644 --- a/src/controllers/SqleditController.php +++ b/src/controllers/SqleditController.php @@ -75,7 +75,7 @@ class SqleditController extends BaseController $default_html = $this->printTabs($this->misc->getNavTabs('popup'), 'sql', false); - $default_html .= '<form action="' . SUBFOLDER . '/src/views/sql" method="post" enctype="multipart/form-data" class="sqlform" id="sqlform" target="detail">'; + $default_html .= '<form action="' . \SUBFOLDER . '/src/views/sql" method="post" enctype="multipart/form-data" class="sqlform" id="sqlform" target="detail">'; $default_html .= "\n"; $default_html .= $this->_printConnection('sql'); @@ -149,7 +149,7 @@ class SqleditController extends BaseController // The javascript action on the select box reloads the // popup whenever the server or database is changed. // This ensures that the correct page encoding is used. - $onchange = "onchange=\"location.href='" . SUBFOLDER . '/sqledit/' . + $onchange = "onchange=\"location.href='" . \SUBFOLDER . '/sqledit/' . urlencode($action) . "?server=' + encodeURI(server.options[server.selectedIndex].value) + '&database=' + encodeURI(database.options[database.selectedIndex].value) + "; // The exact URL to reload to is different between SQL and Find mode, however. |