Item of result - setting values - make stronger comparison for boolean values

This commit is contained in:
Meritoo
2017-09-29 13:17:40 +02:00
parent 4f26bca282
commit 6c44a62f36
3 changed files with 7 additions and 7 deletions

View File

@@ -86,7 +86,7 @@ class Survey extends BaseItem
break;
case 'active':
$this->active = 'Y' === trim($value);
$this->active = 'Y' === trim(strtoupper($value));
break;
}
}