Prevent php info about missing index for old events
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
cdffeb7e4b
commit
32a2125281
|
@ -172,7 +172,7 @@ class Event extends Base {
|
||||||
|
|
||||||
private function generateClassifiedObjectParameter(array $eventData) {
|
private function generateClassifiedObjectParameter(array $eventData) {
|
||||||
$parameter = $this->generateObjectParameter($eventData);
|
$parameter = $this->generateObjectParameter($eventData);
|
||||||
if ($eventData['classified']) {
|
if (!empty($eventData['classified'])) {
|
||||||
$parameter['name'] = $this->l->t('Busy');
|
$parameter['name'] = $this->l->t('Busy');
|
||||||
}
|
}
|
||||||
return $parameter;
|
return $parameter;
|
||||||
|
|
Loading…
Reference in New Issue