[geeklog-cvs] geeklog: E_ALL fix when disabling the last plugin
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Apr 26 12:50:14 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/5d3fc8a52629
changeset: 6993:5d3fc8a52629
user: Dirk Haun <dirk at haun-online.de>
date: Sun Apr 26 18:20:43 2009 +0200
description:
E_ALL fix when disabling the last plugin
diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
public_html/admin/plugins.php | 6 +++++-
diffs (16 lines):
diff -r 7245918d517d -r 5d3fc8a52629 public_html/admin/plugins.php
--- a/public_html/admin/plugins.php Sun Apr 26 18:20:01 2009 +0200
+++ b/public_html/admin/plugins.php Sun Apr 26 18:20:43 2009 +0200
@@ -1155,7 +1155,11 @@
// MAIN
$display = '';
if (isset($_POST['pluginenabler']) && SEC_checkToken()) {
- changePluginStatus($_POST['enabledplugins']);
+ if (isset($_POST['enabledplugins'])) {
+ changePluginStatus($_POST['enabledplugins']);
+ } else {
+ changePluginStatus(array());
+ }
// force a refresh so that the information of the plugin that was just
// enabled / disabled (menu entries, etc.) is displayed properly
More information about the geeklog-cvs
mailing list