From b71eb9462516299803287127e6f19977f1f45107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 26 Apr 2006 14:14:03 +0000 Subject: [PATCH] Be more verbose on error. --- ChangeLog | 1 + libraries/plugin_interface.lib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 967a94d4e..542ff8c1b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2006-04-26 Michal Čihař * libraries/plugin_interface.lib.php: - Display information that there are no settings. + - Be more verbose on error. 2006-04-26 Sebastian Mendel * themes/*: diff --git a/libraries/plugin_interface.lib.php b/libraries/plugin_interface.lib.php index 789eaff24..62715011c 100644 --- a/libraries/plugin_interface.lib.php +++ b/libraries/plugin_interface.lib.php @@ -212,7 +212,7 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt) /* This should be seen only by plugin writers, so I do not thing this * needs translation. */ $ret .= ''; - $ret .= 'UNKNOWN OPTION IN IMPORT PLUGIN ' . $plugin_name . '!'; + $ret .= 'UNKNOWN OPTION ' . $opt['type'] . ' IN IMPORT PLUGIN ' . $plugin_name . '!'; } if (isset($opt['doc'])) { $ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1]);