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:
Diffstat (limited to 'db_qbe.php')
-rw-r--r--db_qbe.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/db_qbe.php b/db_qbe.php
index b7da986f18..2c80f6103c 100644
--- a/db_qbe.php
+++ b/db_qbe.php
@@ -166,7 +166,7 @@ function showColumnSelectCell($columns, $column_number, $selected = '')
}
echo ' ';
echo '<option value="' . htmlspecialchars($column) . '"' . $sel . '>'
- . htmlspecialchars($column) . '</option>' . "\n";
+ . str_replace(' ', '&nbsp;', htmlspecialchars($column)) . '</option>' . "\n";
}
?>
</select>
@@ -629,7 +629,8 @@ $strTableListOptions = '';
$numTableListOptions = 0;
foreach ($tbl_names AS $key => $val) {
$strTableListOptions .= ' ';
- $strTableListOptions .= '<option value="' . htmlspecialchars($key) . '"' . $val . '>' . htmlspecialchars($key) . '</option>' . "\n";
+ $strTableListOptions .= '<option value="' . htmlspecialchars($key) . '"' . $val . '>'
+ . str_replace(' ', '&nbsp;', htmlspecialchars($key)) . '</option>' . "\n";
$numTableListOptions++;
}
?>