fix Notice when renaming a table

This commit is contained in:
Marc Delisle 2007-11-02 17:50:14 +00:00
parent 433bfc8eaf
commit 528a29afe3

View File

@ -153,8 +153,9 @@ require_once './libraries/tbl_links.inc.php';
if (isset($result)) {
if (empty($_message)) {
$_message = $result ? $strSuccess : $strError;
$_type = $result ? 'success' : 'error';
}
// $result should exist, regardless of $_message
$_type = $result ? 'success' : 'error';
PMA_showMessage($_message, $sql_query, $_type);
}