Use the magic method and not the getter.
This commit is contained in:
parent
e9f6dcfdae
commit
cbaec8676a
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ class EventController extends Controller
|
|||
} else {
|
||||
$tag_obj = new Tag();
|
||||
$tag_obj->name = $tag;
|
||||
$tag_obj->slug = \URLify::filter($tag_obj->getName(), 255, 'de');
|
||||
$tag_obj->slug = \URLify::filter($tag_obj->name, 255, 'de');
|
||||
$em->persist($tag_obj);
|
||||
$em->flush();
|
||||
$entity->addTag($tag_obj);
|
||||
|
|
Reference in a new issue