fixed bug #520571 - Problem selecting Databases with blanks
This commit is contained in:
@@ -11,6 +11,8 @@ $Source$
|
|||||||
* tbl_change.php3, lines 166-168: fixed bug #521589 - float(4,2) and field
|
* tbl_change.php3, lines 166-168: fixed bug #521589 - float(4,2) and field
|
||||||
length.
|
length.
|
||||||
* db_details.php3: fixed bug #520384 - Undefined index: Rows.
|
* 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 <lem9@users.sourceforge.net>
|
2002-02-22 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/catala.inc.php3 updates, thanks to Xavier Navarro
|
* lang/catala.inc.php3 updates, thanks to Xavier Navarro
|
||||||
|
@@ -32,6 +32,11 @@ if (empty($HTTP_HOST)) {
|
|||||||
/**
|
/**
|
||||||
* Defines the frameset
|
* 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
|
$url_query = 'lang=' . $lang
|
||||||
. '&server=' . $server
|
. '&server=' . $server
|
||||||
. (empty($db) ? '' : '&db=' . urlencode($db));
|
. (empty($db) ? '' : '&db=' . urlencode($db));
|
||||||
|
@@ -189,7 +189,7 @@ if ($num_dbs > 1) {
|
|||||||
echo ' <form method="post" action="index.php3" name="left" target="_parent">' . "\n";
|
echo ' <form method="post" action="index.php3" name="left" target="_parent">' . "\n";
|
||||||
echo ' <input type="hidden" name="lang" value="' . $lang . '" />' . "\n";
|
echo ' <input type="hidden" name="lang" value="' . $lang . '" />' . "\n";
|
||||||
echo ' <input type="hidden" name="server" value="' . $server . '" />' . "\n";
|
echo ' <input type="hidden" name="server" value="' . $server . '" />' . "\n";
|
||||||
echo ' <select name="db" onchange="this.form.submit()">' . "\n";
|
echo ' <select name="lightm_db" onchange="this.form.submit()">' . "\n";
|
||||||
echo ' <option value=""> - </option>' . "\n";
|
echo ' <option value=""> - </option>' . "\n";
|
||||||
$table_list = '';
|
$table_list = '';
|
||||||
$table_list_header = '';
|
$table_list_header = '';
|
||||||
|
Reference in New Issue
Block a user