From b1cf628bd7809c58af73391f3b9949f89c11a386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 21 Jul 2010 10:10:06 +0200 Subject: [PATCH] Support for phpMyAdmin documentation in plugin library. --- libraries/plugin_interface.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/plugin_interface.lib.php b/libraries/plugin_interface.lib.php index da52b83d7..b2c441b3d 100644 --- a/libraries/plugin_interface.lib.php +++ b/libraries/plugin_interface.lib.php @@ -274,6 +274,8 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt) if (isset($opt['doc'])) { if (count($opt['doc']) == 3) { $ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1], false, $opt['doc'][2]); + } elseif (count($opt['doc']) == 1) { + $ret .= PMA_showDocu($opt['doc'][0]); } else { $ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1]); }