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() {
|
||||
|
||||
// $conf = io_load_file(CONFIG_DIR . 'plugins.conf.php');
|
||||
if (!empty($this->errors)) {
|
||||
$this->smarty->assign('warnings', $this->errors);
|
||||
}
|
||||
$this->smarty->assign('enabledlist', $this->fp_plugins);
|
||||
|
||||
lang_load('admin.plugin');
|
||||
|
Loading…
x
Reference in New Issue
Block a user