Fixed the issue in PMA_showMessage() where ['cell_align_left'] is not set in an Ajax request. Put an isset() conditional in place

This commit is contained in:
ninadsp
2010-07-16 20:14:25 +05:30
parent 7033154eb4
commit 85e2225ac7

View File

@@ -1065,7 +1065,7 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
}
unset($tbl_status);
echo '<div align="' . $GLOBALS['cell_align_left'] . '">' . "\n";
echo '<div align="' . ( isset($GLOBALS['cell_align_left']) ? $GLOBALS['cell_align_left'] : '' ) . '">' . "\n";
if ($message instanceof PMA_Message) {
if (isset($GLOBALS['special_message'])) {