aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index a9ab3bbf5b..a85155164f 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -163,7 +163,7 @@ class module
}
$db->sql_freeresult($result);
- if (!$module_id)
+ if (!isset($module_id) || !$module_id)
{
trigger_error('MODULE_NOT_EXIST');
}