bug #549570
This commit is contained in:
@@ -11,6 +11,8 @@ $Source$
|
|||||||
- Patch #548696 (DB/Table titles should be links), thanks to
|
- Patch #548696 (DB/Table titles should be links), thanks to
|
||||||
Ray Black <allah03@users.sourceforge.net>.
|
Ray Black <allah03@users.sourceforge.net>.
|
||||||
- lines: 161-164: Undefined variable
|
- lines: 161-164: Undefined variable
|
||||||
|
* common.lib.php3, lines 162, 163, 435-437: Fixed bug #549570
|
||||||
|
(Strange error if controluser is invalid)
|
||||||
|
|
||||||
2002-04-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2002-04-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* Documentation.html:
|
* Documentation.html:
|
||||||
|
@@ -159,6 +159,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
{
|
{
|
||||||
|
|
||||||
if (empty($GLOBALS['is_header_sent'])) {
|
if (empty($GLOBALS['is_header_sent'])) {
|
||||||
|
// rabus: If we include header.inc.php3 here, we get a huge set of
|
||||||
|
// "Undefined variable" errors (see bug #549570)!
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -430,6 +432,9 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
. $cfg['Server']['host'] . $server_port . $server_socket . ', '
|
. $cfg['Server']['host'] . $server_port . $server_socket . ', '
|
||||||
. $cfg['Server']['controluser'] . ', '
|
. $cfg['Server']['controluser'] . ', '
|
||||||
. $cfg['Server']['controlpass'] . ')';
|
. $cfg['Server']['controlpass'] . ')';
|
||||||
|
if (empty($GLOBALS['is_header_sent'])) {
|
||||||
|
include('./header.inc.php3');
|
||||||
|
}
|
||||||
PMA_mysqlDie($conn_error, $local_query, FALSE);
|
PMA_mysqlDie($conn_error, $local_query, FALSE);
|
||||||
} // end if
|
} // end if
|
||||||
} // end if
|
} // end if
|
||||||
|
Reference in New Issue
Block a user