bug 1111706 undefined function PMA_reloadNavigation

This commit is contained in:
Marc Delisle
2005-01-28 20:20:45 +00:00
parent f0c1f7a939
commit b0e1de3732
2 changed files with 7 additions and 2 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-01-28 Marc Delisle <lem9@users.sourceforge.net>
* libraries/dbi/mysqli.dbi.lib.php: bug #1111706, call to undefined
function PMA_reloadNavigation(). A failed connection was not properly
detected
2005-01-27 Marc Delisle <lem9@users.sourceforge.net>
* libraries/fpdf/fpdf.php: bug #1106146, missing header for PDF,
thanks to Michal

View File

@@ -68,9 +68,9 @@ function PMA_DBI_connect($user, $password) {
$client_flags = $cfg['Server']['compress'] && defined('MYSQLI_CLIENT_COMPRESS') ? MYSQLI_CLIENT_COMPRESS : 0;
@mysqli_real_connect($link, $cfg['Server']['host'], $user, $password, FALSE, $server_port, $server_socket, $client_flags);
$return_value = @mysqli_real_connect($link, $cfg['Server']['host'], $user, $password, FALSE, $server_port, $server_socket, $client_flags);
if (empty($link)) {
if ($return_value == FALSE) {
PMA_auth_fails();
} // end if