ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/admin/groupperm.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method handler from undeclared class \icms
Open

$module_handler = icms::handler('icms_module');
Severity: Critical
Found in htdocs/modules/system/admin/groupperm.php by phan

Reference to undeclared constant \_MODULENOEXIST
Open

    redirect_header(ICMS_URL . '/admin.php', 1, _MODULENOEXIST);

Reference to static property user from undeclared class \icms
Open

if ($modid <= 1 || !is_object(icms::$user) || !icms::$user->isAdmin($modid)) {
Severity: Critical
Found in htdocs/modules/system/admin/groupperm.php by phan

Call to method handler from undeclared class \icms
Open

    $gperm_handler = icms::handler('icms_member_groupperm');
Severity: Critical
Found in htdocs/modules/system/admin/groupperm.php by phan

Call to method handler from undeclared class \icms
Open

$member_handler = icms::handler('icms_member');
Severity: Critical
Found in htdocs/modules/system/admin/groupperm.php by phan

Reference to undeclared constant \_NOPERM
Open

    redirect_header(ICMS_URL . '/', 1, _NOPERM);

Expected 1 blank line at end of file; 2 found
Open

redirect_header($backlink, 2, implode("<br />", $msg));

TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
Open

        if (FALSE != $gperm_handler->deleteByModule($modid, $perm_name)) {

There are no issues that match your filters.

Category
Status