Skip to content

Commit

Permalink
Another code checker fix for mod_form.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnOLane committed Jul 15, 2024
1 parent ca199f7 commit c32d214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function definition() {
}
$select = $mform->addElement('select', 'assign', get_string('assign', 'zoom'), $teachersmenu);
// Need to set current host here.
if(!$isnew) {
if (!$isnew) {
$zoomusers = [];
foreach ($teacherarray as $teacher) {
// Not amazing may have to reconsider if we end up hitting the timeout limit for zoom requests.
Expand Down Expand Up @@ -1207,7 +1207,7 @@ public function validation($data, $files) {
// UOFR HACK ADDED.
if (isset($data['assign'])) {
$useremail = $data['assign'];
if($useremail != $USER->email) {
if ($useremail != $USER->email) {
$user = zoom_get_user_info($useremail);
if ($user) {
$service = new mod_zoom_webservice();
Expand Down

0 comments on commit c32d214

Please sign in to comment.