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:
authorTyron Madlener <tyronx@gmail.com>2011-06-20 23:15:23 +0400
committerTyron Madlener <tyronx@gmail.com>2011-06-20 23:15:23 +0400
commite7f2afe8ce5356b295bc50373abc293602272f53 (patch)
tree02b5b3106343e97805eb918f4df14f5e64386459 /server_variables.php
parentaa7704b067f390a8a5efd281ba4f12447bb5d3e6 (diff)
- Label for live chart refresh rate list
- Better alignment for query pie chart - some variable escaping for variable editing
Diffstat (limited to 'server_variables.php')
-rw-r--r--server_variables.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_variables.php b/server_variables.php
index d269852b8a..792bb99dae 100644
--- a/server_variables.php
+++ b/server_variables.php
@@ -44,7 +44,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
$value = $_REQUEST['varValue'];
if(!is_numeric($value)) $value="'".$value."'";
- if(PMA_DBI_query('SET GLOBAL '.$_REQUEST['varName'].' = '.$value))
+ if(PMA_DBI_query('SET GLOBAL '.PMA_backquote($_REQUEST['varName']).' = '.$value))
// Some values are rounded down etc.
$varValue = PMA_DBI_fetch_single_row('SHOW GLOBAL VARIABLES WHERE Variable_name="'.$_REQUEST['varName'].'";','NUM');