mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
apply rector rules: symfony **UP TO** 44
This commit is contained in:
@@ -55,7 +55,7 @@ abstract class AbstractElementController extends AbstractController
|
||||
if ($request->getMethod() === Request::METHOD_DELETE) {
|
||||
$form->handleRequest($request);
|
||||
|
||||
if ($form->isValid()) {
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
$this->chillMainLogger->notice('A budget element has been removed', [
|
||||
'family_element' => $element::class,
|
||||
'by_user' => $this->getUser()->getUsername(),
|
||||
|
Reference in New Issue
Block a user