summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php2
1 files changed, 1 insertions, 1 deletions
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