From: rollox Date: Wed, 30 Mar 2016 22:29:03 +0000 (+0100) Subject: CRM-18317 - Links to Drupal system broken if hook altered by a module X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=70985ca2c184aa47e6cf828b49d4409faff57bfa;p=civicrm-core.git 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. --- 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); }; }