Closed pgrayove-mcpl closed 1 year ago
Looks great @pgrayove-mcpl -- can you submit as a PR?
Oh, I just saw https://github.com/backdrop-contrib/ip_geoloc/pull/7
Note that if you put "Fixes #x" at the top of the first comment in a PR it will link it to the issue automatically.
Deprecated: Unparenthesized
a ? b : c ? d : eis deprecated. Use either
(a ? b : c) ? d : eor
a ? b : (c ? d : e)in /app/modules/contrib/ip_geoloc/views/ip_geoloc_plugin_style.inc on line 469
Looks like it can be updated from this Drupal patch
In
/views/ip_geoloc_plugin_style.inc
Change line 469:
$items[0] = empty($differentiator_value) ? array() : is_array($differentiator_value) ? $differentiator_value : array($differentiator_value);
to:
$items[0] = empty($differentiator_value) ? array() : (is_array($differentiator_value) ? $differentiator_value : array($differentiator_value));