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:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-05-14 16:13:44 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-05-14 16:13:44 +0400
commitb4c5dda95dbfea7f8e7551c6c378319d6a0a038d (patch)
tree495a7c76bba3fadf1b23ea5098f502170fd33996 /db_qbe.php
parent84b9a15a0e90344d3c37090e0c7413e2d437cecf (diff)
bug #1699772 Visual space bug in table name (in browser)
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++;
}
?>