Release 1.30 (#3651)
* exclude all 403 and 404 from logs * bump version * cleanup tag handling * prevent mandatory user preferences turning null
This commit is contained in:
@@ -262,7 +262,7 @@ final class ProfileController extends AbstractController
|
||||
// switch locale ONLY if updated profile is the current user
|
||||
$locale = $request->getLocale();
|
||||
if ($this->getUser()->getId() === $profile->getId()) {
|
||||
$locale = $profile->getPreferenceValue('language', $locale);
|
||||
$locale = $profile->getPreferenceValue('language', $locale, false);
|
||||
}
|
||||
|
||||
return $this->redirectToRoute('user_profile_preferences', [
|
||||
|
||||
Reference in New Issue
Block a user