CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11807] UserOperations::IsSuperuser() calls UserOperations::GetMemberGroups() incorrectly

avatar
Created By: Chris (goat05)
Date Submitted: Tue May 01 17:05:55 -0400 2018

Assigned To:
Version: 2.2.7
CMSMS Version: 2.2.7
Severity: Minor
Resolution: None
State: Open
Summary:
UserOperations::IsSuperuser() calls UserOperations::GetMemberGroups() incorrectly
Detailed Description:
The UserOperations::GetMemberGroups() method signature requires the $uid
argument. When UserOperations::IsSuperuser() calls this method it omits the
required argument.

The result is that calling UserOperations::IsSuperuser() always results in a PHP
Warning.


History