View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0018839||phpList 3 application||plugins||public||01-09-17 10:39||20-04-18 16:35|
|Target Version||3.3.2||Fixed in Version||3.3.2|
|Summary||0018839: Menu items for new plugin are added when plugin is not yet enabled|
|Description||When a new plugin is installed through either the automatic approach or manually copying the files, on the next page load phplist adds any menu items of the plugin to the menus even though the plugin has not yet been enabled.|
See the attached screenshot for an example with the menu System > Manage Attachments
This seems to be a problem in file admin/pluginlib.php where the plugin is added to the array of enabled plugins, $plugins. Even though it is marked as not enabled
$GLOBALS['plugins'][$className]->enabled = false;
other processing expects all entries of $plugins to be enabled.
This is only a transient problem because on the following page load the plugin is detected as disabled and not added to the array of enabled plugins.
|Tags||No tags attached.|