Do not include empty values.
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2006-04-25 Michal Čihař <michal@cihar.com>
|
||||
* libraries/common.lib.php: Make cookie login form work with token
|
||||
protection.
|
||||
* libraries/auth/cookie.auth.lib.php: Do not include empty values.
|
||||
|
||||
2006-04-25 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* db_details_qbe.php, db_printview.php, libraries/display_tbl.lib.php,
|
||||
|
@@ -212,13 +212,13 @@ echo sprintf( $GLOBALS['strWelcome'],
|
||||
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
||||
<input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" />
|
||||
<?php
|
||||
if (isset($GLOBALS['target'])) {
|
||||
if (!empty($GLOBALS['target'])) {
|
||||
echo ' <input type="hidden" name="target" value="' . htmlspecialchars($GLOBALS['target']) . '" />' . "\n";
|
||||
}
|
||||
if (isset($GLOBALS['db'])) {
|
||||
if (!empty($GLOBALS['db'])) {
|
||||
echo ' <input type="hidden" name="db" value="' . htmlspecialchars($GLOBALS['db']) . '" />' . "\n";
|
||||
}
|
||||
if (isset($GLOBALS['table'])) {
|
||||
if (!empty($GLOBALS['table'])) {
|
||||
echo ' <input type="hidden" name="table" value="' . htmlspecialchars($GLOBALS['table']) . '" />' . "\n";
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user