diff options
author | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2007-05-14 16:13:44 +0400 |
---|---|---|
committer | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2007-05-14 16:13:44 +0400 |
commit | b4c5dda95dbfea7f8e7551c6c378319d6a0a038d (patch) | |
tree | 495a7c76bba3fadf1b23ea5098f502170fd33996 /db_qbe.php | |
parent | 84b9a15a0e90344d3c37090e0c7413e2d437cecf (diff) |
bug #1699772 Visual space bug in table name (in browser)
Diffstat (limited to 'db_qbe.php')
-rw-r--r-- | db_qbe.php | 5 |
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(' ', ' ', 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(' ', ' ', htmlspecialchars($key)) . '</option>' . "\n"; $numTableListOptions++; } ?> |