Skip to content

Commit

Permalink
CI complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartlamour committed Jan 9, 2025
1 parent c28964e commit 3014a96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion block_my_feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ public static function get_mod_data($mod, $assess): ?stdClass {
case 'assign':

// Check mod has custom data, due date, and due date is in range.
if (!$mod->customdata || !isset($mod->customdata['duedate']) || !self::duedate_in_range($mod->customdata['duedate'])) {
if (!$mod->customdata || !isset($mod->customdata['duedate'])
|| !self::duedate_in_range($mod->customdata['duedate'])) {
return null;
}

Expand Down

0 comments on commit 3014a96

Please sign in to comment.