|
|
@@ -163,8 +163,8 @@ class EditListDataProvider extends AddListDataProvider
|
|
|
'SenderThisList' => $lang->absoluteT('SenderThisList')
|
|
|
];
|
|
|
// prevent in_array on null in update
|
|
|
- $this->data['memberList'] ? $this->data['memberList'] : $this->data['memberList'] = array();
|
|
|
- $this->data['memberListActually'] ? $this->data['memberListActually'] : $this->data['memberListActually'] = array();
|
|
|
+ $this->data['memberList'] == null ? $this->data['memberList'] = array() : $this->data['memberList'];
|
|
|
+ $this->data['memberListActually'] == null ? $this->data['memberListActually'] = array() : $this->data['memberListActually'];
|
|
|
foreach($intMembers as $intMember) {
|
|
|
$this->data['memberList'][] = $intMember;
|
|
|
}
|