From 9b058c76cf9d54838ed5f61924d6b3f45c677e90 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 29 Nov 2015 22:15:35 -0500 Subject: [PATCH] Convert to old array syntax for the sake of jenkins --- CRM/Utils/System/Drupal8.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index 32a5bc4884..d626e9cb3d 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -337,11 +337,11 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { // Not all links that CiviCRM generates are Drupal routes, so we use the weaker ::fromUri method. try { - $url = \Drupal\Core\Url::fromUri("base:{$url['path']}", [ + $url = \Drupal\Core\Url::fromUri("base:{$url['path']}", array( 'query' => $url['query'], 'fragment' => $fragment, 'absolute' => $absolute, - ])->toString(); + ))->toString(); } catch (Exception $e) { // @Todo: log to watchdog -- 2.25.1