Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrack <piotrprz@gmail.com>2010-08-09 00:10:48 +0400
committerCrack <piotrprz@gmail.com>2010-08-09 00:10:48 +0400
commit98cbab04113cac9de1aa8aea07dd92d8ae7f03b7 (patch)
treecbb6eb88eef0e8882cdc6b2b91fdcd2dc37a85bc /prefs_manage.php
parent97c939f8df0ae8e2ccd1357c78e2dfeda2383fad (diff)
second part of error message display changes
Diffstat (limited to 'prefs_manage.php')
-rw-r--r--prefs_manage.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/prefs_manage.php b/prefs_manage.php
index 8d47e90394..d678f8a88c 100644
--- a/prefs_manage.php
+++ b/prefs_manage.php
@@ -213,6 +213,12 @@ if (isset($_POST['submit_export']) && filter_input(INPUT_POST, 'export_type') ==
$GLOBALS['js_include'][] = 'config.js';
require './libraries/header.inc.php';
require './libraries/user_preferences.inc.php';
+if ($error) {
+ if (!$error instanceof PMA_Message) {
+ $error = PMA_Message::error($error);
+ }
+ $error->display();
+}
?>
<script type="text/javascript">
<?php