Skip to content

Commit

Permalink
[Admin] Fix news creation (#11359)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano authored Jan 24, 2025
1 parent c1d3032 commit d949fa5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Admin/Jecoute/NewsAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ protected function configureFormFields(FormMapper $form): void
});

$form->getFormBuilder()->addEventListener(FormEvents::PRE_SUBMIT, [$this, 'preSubmit']);
$form->getFormBuilder()->addEventListener(FormEvents::SUBMIT, [$this, 'submit']);
}

public function preSubmit(FormEvent $event): void
Expand Down

0 comments on commit d949fa5

Please sign in to comment.