From 0cc40a874e546bc522a849ca29d3bd1f6ad39f7f Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 15 Sep 2009 16:44:12 +0000 Subject: [PATCH] in non-exit situation, the error message coming from MySQL was not displayed --- libraries/common.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 65fc5c3c6..f57164bf1 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -654,12 +654,14 @@ function PMA_mysqlDie($error_message = '', $the_query = '', $error_msg_output .= '' . "\n\n"; } - echo $error_msg_output; + echo $error_msg_output; /** * display footer and exit */ require_once './libraries/footer.inc.php'; + } else { + echo $error_msg_output; } } // end of the 'PMA_mysqlDie()' function