Skip to content

Commit

Permalink
fix issue #415 (#446)
Browse files Browse the repository at this point in the history
Co-authored-by: rezeau <[email protected]>
  • Loading branch information
mchurchward and rezeau authored Dec 20, 2022
1 parent 0d94e90 commit d896424
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions classes/question/rate.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,10 +590,8 @@ public function response_complete($responsedata) {
}

if ($num == 0) {
if (!$this->has_dependencies()) {
if ($this->required()) {
$answered = false;
}
if ($this->required()) {
$answered = false;
}
}
return $answered;
Expand Down

0 comments on commit d896424

Please sign in to comment.