Skip to content

Commit d114a69

Browse files
authored
fix(chore): resolve problem if easyadmin is used
1 parent b327d23 commit d114a69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Core/H5PSymfony.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function setLibraryTutorialUrl($machineName, $tutorialUrl)
237237
public function setErrorMessage($message, $code = null): void
238238
{
239239
if ($this->session) {
240-
$this->session->getFlashBag()->add("error", "[$code]: $message");
240+
$this->session->getFlashBag()->add("danger", "[$code]: $message");
241241
}
242242
}
243243

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jorisdugue/h5p-bundle",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"type": "symfony-bundle",
55
"description": "H5P Bundle for Symfony 5, 6 and Symfony 7",
66
"keywords": [

0 commit comments

Comments
 (0)