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: Fixed
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

Comments
avatar
Date: 2018-07-14 18:32
Posted By: Robert Campbell (calguy1000)

Fixed for CMSMS 2.3
      
Updates

Updated: 2018-07-14 18:32
resolution_id: => 7