Undefined variable
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-06-24 Alexander M. Turek <me@derrabus.de>
|
||||||
|
* libraries/dbi/mysqli.dbi.php: Undefined variable if PMA_DBI_getError() is
|
||||||
|
called although no error occured.
|
||||||
|
|
||||||
2004-06-24 Michal Čihař <michal@cihar.com>
|
2004-06-24 Michal Čihař <michal@cihar.com>
|
||||||
* main.php, changelog.php: Add headers to ChangeLog display.
|
* main.php, changelog.php: Add headers to ChangeLog display.
|
||||||
* scripts/create_tables.sql: Add IF EXISTS.
|
* scripts/create_tables.sql: Add IF EXISTS.
|
||||||
|
@@ -197,7 +197,7 @@ function PMA_DBI_getError($link = NULL) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// keep the error number for further check after the call to PMA_DBI_getError()
|
// keep the error number for further check after the call to PMA_DBI_getError()
|
||||||
if ($error) {
|
if (!empty($error)) {
|
||||||
$GLOBALS['errno'] = $error;
|
$GLOBALS['errno'] = $error;
|
||||||
} else {
|
} else {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user