mirror of
https://github.com/nextcloud/server.git
synced 2026-05-20 09:12:51 -04:00
Prevent php info about missing index for old events
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
dce496311d
commit
337146412b
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class Event extends Base {
|
|||
|
||||
private function generateClassifiedObjectParameter(array $eventData) {
|
||||
$parameter = $this->generateObjectParameter($eventData);
|
||||
if ($eventData['classified']) {
|
||||
if (!empty($eventData['classified'])) {
|
||||
$parameter['name'] = $this->l->t('Busy');
|
||||
}
|
||||
return $parameter;
|
||||
|
|
|
|||
Loading…
Reference in a new issue