Skip to content

Commit

Permalink
Solve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoran Kabic committed Mar 25, 2024
2 parents 6ba6cc6 + fb7e441 commit 4291ee4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function overrideSlugIfNeeded(ArticleEvent $event): void

if ($previousRoute && $overrideSlugOnCorrection && null !== $article->getSlug()) {
$this->savePreviousRelativeUrl($article, $previousRoute);
$slug = empty($package->getSlugline()) ?
$slug = !empty($package->getSlugline()) ?
$package->getSlugline() : Transliterator::urlize($article->getTitle());
$article->setSlug($slug);
} elseif ($previousRoute) {
Expand Down

0 comments on commit 4291ee4

Please sign in to comment.