Closed jbelien closed 3 years ago
Previous PR #1125 brought an error in the LocalePlugin.
if (empty($query->getLocale())) { $query = $query->withLocale($this->locale); }
was replaced by
$locale = $query->getLocale(); if (null !== $locale && '' !== $locale) { $query = $query->withLocale($this->locale); }
instead of
$locale = $query->getLocale(); if (null === $locale || '' === $locale) { $query = $query->withLocale($this->locale); }
Previous PR #1125 brought an error in the LocalePlugin.
was replaced by
instead of