fix: [internal] Fixed an issue that prevented all to ids attributes from being fetched on the event view

pull/3725/head
iglocska 2018-09-14 10:58:19 +02:00
parent 4b571a4cad
commit a03b1c9d44
1 changed files with 1 additions and 1 deletions

View File

@ -1622,7 +1622,7 @@ class Event extends AppModel
}
}
if (isset($options['to_ids'])) {
if (!empty($options['to_ids']) || $options['to_ids'] === 0) {
$conditionsAttributes['AND'][] = array('Attribute.to_ids' => $options['to_ids']);
}