in non-exit situation, the error message coming from MySQL was not displayed

This commit is contained in:
Marc Delisle
2009-09-15 16:44:12 +00:00
parent 8d9f78ce7d
commit 0cc40a874e

View File

@@ -654,12 +654,14 @@ function PMA_mysqlDie($error_message = '', $the_query = '',
$error_msg_output .= '</fieldset>' . "\n\n"; $error_msg_output .= '</fieldset>' . "\n\n";
} }
echo $error_msg_output; echo $error_msg_output;
/** /**
* display footer and exit * display footer and exit
*/ */
require_once './libraries/footer.inc.php'; require_once './libraries/footer.inc.php';
} else {
echo $error_msg_output;
} }
} // end of the 'PMA_mysqlDie()' function } // end of the 'PMA_mysqlDie()' function