Release 2.17 (#4836)

see https://github.com/kimai/kimai/pull/4836
This commit is contained in:
Kevin Papst
2024-05-19 17:42:03 +02:00
committed by GitHub
parent 5f7114e008
commit 0c445d1bc4
41 changed files with 318 additions and 307 deletions

View File

@@ -122,7 +122,7 @@ trait FormTrait
return;
}
$options['projects'] = $data['project'];
$options['projects'] = \is_string($data['project']) ? (int) $data['project'] : $data['project'];
$event->getForm()->add('activity', ActivityType::class, $options);
}