- Issue created by @drumm
- Merge request !119Use language object when constructing URL to avoid notice โ (Open) created by drumm
- Status changed to Needs review
5 months ago 10:37pm 29 July 2024
๐
Backport to D7 - Redirect URL should be generated without language prefix
Fixed
added language
to URL generation, with 'language' => LANGUAGE_NONE
. However, https://api.drupal.org/api/drupal/includes%21common.inc/function/url/7.x specifies a โlanguage object.โ
This results in Notice: Trying to get property of non-object in locale_language_url_rewrite_url()
Use the language option correctly.
Needs review
1.0
Code