* The desired value.
*/
public static function retrieveComponent($attributes) {
- $url = CRM_Utils_Array::value('action', $attributes);
+ $url = $attributes['action'] ?? NULL;
// Whilst the following is a fallible universal test for urlencoded URLs,
// thankfully the "action" URL has a limited and predictable form and
// therefore this comparison is sufficient for our purposes.