Skip to content

Commit

Permalink
IOMAD: Undefined variable when removing user from a role in Users/Use…
Browse files Browse the repository at this point in the history
…r Roles #1930
  • Loading branch information
turf212 committed Mar 5, 2024
1 parent b9875fb commit 5adcddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/iomad/lib/company.php
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ public function assign_user_to_company($userid, $departmentid = 0, $managertype
}


public static function upsert_company_user($userid, $companyid, $departmentid, $managertype, $educator=false, $ws=false) {
public static function upsert_company_user($userid, $companyid, $departmentid, $managertype, $educator=false, $ws=false, $move = false) {
global $DB, $CFG;

$assign = [
Expand Down

0 comments on commit 5adcddc

Please sign in to comment.