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:
@@ -183,15 +183,15 @@ class Participant extends BaseItem
|
||||
break;
|
||||
|
||||
case 'blacklisted':
|
||||
$this->blacklisted = 'Y' === trim($value);
|
||||
$this->blacklisted = 'Y' === trim(strtoupper($value));
|
||||
break;
|
||||
|
||||
case 'sent':
|
||||
$this->sent = 'Y' === trim($value);
|
||||
$this->sent = 'Y' === trim(strtoupper($value));
|
||||
break;
|
||||
|
||||
case 'remindersent':
|
||||
$this->reminderSent = 'Y' === trim($value);
|
||||
$this->reminderSent = 'Y' === trim(strtoupper($value));
|
||||
break;
|
||||
|
||||
case 'remindercount':
|
||||
@@ -199,7 +199,7 @@ class Participant extends BaseItem
|
||||
break;
|
||||
|
||||
case 'completed':
|
||||
$this->completed = 'Y' === trim($value);
|
||||
$this->completed = 'Y' === trim(strtoupper($value));
|
||||
break;
|
||||
|
||||
case 'usesleft':
|
||||
|
||||
Reference in New Issue
Block a user