mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-13 02:21:50 +01:00
Item of result - setting values - make stronger comparison for boolean values
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user