fix Notice when renaming a table
This commit is contained in:
parent
433bfc8eaf
commit
528a29afe3
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user