From cfb5459ce3b1bcb62ddd63d2e7ba63b2a962b2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 23 Feb 2002 11:26:54 +0000 Subject: [PATCH] fixed bug #520571 - Problem selecting Databases with blanks --- ChangeLog | 2 ++ index.php3 | 5 +++++ left.php3 | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3aa2f94c1..314d14c61 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ $Source$ * tbl_change.php3, lines 166-168: fixed bug #521589 - float(4,2) and field length. * db_details.php3: fixed bug #520384 - Undefined index: Rows. + * index.php3, lines 36-39; left.php3, line 192: fixed bug #520571 - Problem + selecting Databases with blanks. 2002-02-22 Marc Delisle * lang/catala.inc.php3 updates, thanks to Xavier Navarro diff --git a/index.php3 b/index.php3 index 860969671..14e232ff9 100755 --- a/index.php3 +++ b/index.php3 @@ -32,6 +32,11 @@ if (empty($HTTP_HOST)) { /** * Defines the frameset */ +// loic1: If left light mode -> urldecode the db name +if (isset($lightm_db)) { + $db = urldecode($lightm_db); + unset($lightm_db); +} $url_query = 'lang=' . $lang . '&server=' . $server . (empty($db) ? '' : '&db=' . urlencode($db)); diff --git a/left.php3 b/left.php3 index 7086552f1..81c784a34 100755 --- a/left.php3 +++ b/left.php3 @@ -189,7 +189,7 @@ if ($num_dbs > 1) { echo '
' . "\n"; echo ' ' . "\n"; echo ' ' . "\n"; - echo ' ' . "\n"; echo ' ' . "\n"; $table_list = ''; $table_list_header = '';