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

@@ -193,11 +193,11 @@ class QuestionShort extends BaseItem
break;
case 'other':
$this->other = 'Y' === trim($value);
$this->other = 'Y' === trim(strtoupper($value));
break;
case 'mandatory':
$this->mandatory = 'Y' === trim($value);
$this->mandatory = 'Y' === trim(strtoupper($value));
break;
case 'question_order':