Do not set NULL for $options['query']

Created on 25 August 2016, about 8 years ago
Updated 1 March 2023, over 1 year ago

Sometimes `$options` parameter in `hook_url_outbound_alter()` implementation may be received with `$options['query']` as `NULL` (in my case, pathlogic module is responsible for that). Line `$options['query'] += drupal_get_destination();` within `helper_url_outbound_alter()` cause to throw "Unsupported operand types" when it happens.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India junaidpv Kannur, Kerala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024