@@ -1737,7 +1737,7 @@ class Member extends Component
$start = date('Y-m-d', strtotime("+" . $r->months . " months", strtotime($start)));
- if ($start > $this->course_date_to) {
+ if ($start > $this->course_date_to || $r->months == 0) {
$go = false;
break;
}