From 70985ca2c184aa47e6cf828b49d4409faff57bfa Mon Sep 17 00:00:00 2001 From: rollox Date: Wed, 30 Mar 2016 23:29:03 +0100 Subject: [PATCH] CRM-18317 - Links to Drupal system broken if hook altered by a module Let Drupal output the system url for 'user/' . $uid instead of Civi, so that any Drupal hooks that alter this path have a chance to do so. --- CRM/Utils/System/DrupalBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index aeab9544e2..e1bbd67329 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -249,7 +249,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { 'cms:view user account', )) ) { - return CRM_Utils_System::url('user/' . $uid); + return url('user/' . $uid); }; } -- 2.25.1