From bb4866bd74ec6b55bf41e75c158d940dced91f2f Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 23 Sep 2006 22:36:09 +0200 Subject: minor bugfix and boring error removal darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz --- inc/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/actions.php') diff --git a/inc/actions.php b/inc/actions.php index cbbbeead6..e3ddfecc0 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -94,7 +94,7 @@ function act_dispatch(){ //handle admin tasks if($ACT == 'admin'){ // retrieve admin plugin name from $_REQUEST['page'] - if ($_REQUEST['page']) { + if (!empty($_REQUEST['page'])) { $pluginlist = plugin_list('admin'); if (in_array($_REQUEST['page'], $pluginlist)) { // attempt to load the plugin -- cgit v1.2.3