Release 2.34 (#5465)
* fix timing issue in timesheet edit form with deactivated rounding * bump packages * only show update messages for newer plugin versions * replace deprecated method * remove internal from API * remove technical terms from translation * prevent calls to internal symfony methods * helper method to flag entry as modified * support meta-fields in weekly-hourse view * fix running timesheets were deleted in weekly-hourse
This commit is contained in:
@@ -21,7 +21,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
*/
|
||||
final class MenuBuilderSubscriber implements EventSubscriberInterface
|
||||
{
|
||||
public function __construct(private MenuService $menuService)
|
||||
public function __construct(private readonly MenuService $menuService)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ final class MenuBuilderSubscriber implements EventSubscriberInterface
|
||||
$event->addItem($menuEvent->getSystemMenu());
|
||||
}
|
||||
|
||||
$route = $event->getRequest()->get('_route');
|
||||
$route = $event->getRequest()->attributes->get('_route');
|
||||
if (!\is_string($route)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user