Bugfix: Do not display empty warning msgs box
This commit is contained in:
parent
85f8d2a249
commit
226482d3b6
@ -105,7 +105,9 @@ class admin_plugin_default extends AdminPanelAction {
|
|||||||
function main() {
|
function main() {
|
||||||
|
|
||||||
// $conf = io_load_file(CONFIG_DIR . 'plugins.conf.php');
|
// $conf = io_load_file(CONFIG_DIR . 'plugins.conf.php');
|
||||||
$this->smarty->assign('warnings', $this->errors);
|
if (!empty($this->errors)) {
|
||||||
|
$this->smarty->assign('warnings', $this->errors);
|
||||||
|
}
|
||||||
$this->smarty->assign('enabledlist', $this->fp_plugins);
|
$this->smarty->assign('enabledlist', $this->fp_plugins);
|
||||||
|
|
||||||
lang_load('admin.plugin');
|
lang_load('admin.plugin');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user