Skip to content

Commit

Permalink
Oops I accidentally the whole thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonhasacat committed Mar 18, 2024
1 parent 96d9229 commit 6a3eb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Classes/RoleHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function getUserRole($cid, $fac)
if ($fac == "ZHQ") {
return 'Division Staff';
}
$facility = Facility::where('id', $fac)->get();
$facility = Facility::where('id', $fac)->first();
if ($cid == $facility->atm) {
return 'Air Traffic Manager';
}
Expand Down

0 comments on commit 6a3eb12

Please sign in to comment.