diff --git a/app/modules/front/controls/AddonModal/AddonModal.php b/app/modules/front/controls/AddonModal/AddonModal.php index 0d1a8b40..32f820fa 100644 --- a/app/modules/front/controls/AddonModal/AddonModal.php +++ b/app/modules/front/controls/AddonModal/AddonModal.php @@ -73,9 +73,9 @@ protected function createComponentForm() $addon->owner = $owner; $addon->name = $name; $addon->github = new Github(); - $addon->tags->add($form->values->tags); - - dd($addon); + if ($form->values->tags) { + $addon->tags->add($form->values->tags); + } try { $this->addonRepository->persistAndFlush($addon);