Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-05-12 20:52:05 +0400
committerRouslan Placella <rouslan@placella.com>2012-05-13 03:28:34 +0400
commit7b3ffe10cbcc63441fb3201b12658fdafa5b2780 (patch)
tree0fb8c8ba0212b5a582b7f19392673aa9e01b5cc7 /sql.php
parentb06b622dde9a903b9555fb3bbd382f15e049a979 (diff)
Moved parameters check out of the header file
Diffstat (limited to 'sql.php')
-rw-r--r--sql.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql.php b/sql.php
index 4499b2e175..151dd46f97 100644
--- a/sql.php
+++ b/sql.php
@@ -909,6 +909,8 @@ if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) {
unset($show_query);
}
if (isset($printview) && $printview == '1') {
+ PMA_checkParameters(array('db', 'full_sql_query'));
+
include_once 'libraries/header_printview.inc.php';
$hostname = '';