Participant has completed survey - fix getting proper information

This commit is contained in:
Meritoo
2017-10-22 18:41:13 +02:00
parent 7846cedba4
commit ba9160cccf
2 changed files with 7 additions and 2 deletions

View File

@@ -201,7 +201,12 @@ class Participant extends BaseItem
break;
case 'completed':
$this->completed = 'Y' === trim(strtoupper($value));
if ('N' === trim(strtoupper($value))) {
$this->completed = false;
break;
}
$this->completed = Date::isValidDate($value, true);
break;
case 'usesleft':