From: Rich Lott / Artful Robot Date: Sat, 2 Dec 2023 23:37:41 +0000 (+0000) Subject: standalone: fix not returning absolute paths from System class X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7adeebb8380b6ef8b4794afe19ec3f4bdcc82cba;p=civicrm-core.git standalone: fix not returning absolute paths from System class Simple one this. --- diff --git a/CRM/Utils/System/Standalone.php b/CRM/Utils/System/Standalone.php index d7315f1ddc..27f32bf5bb 100644 --- a/CRM/Utils/System/Standalone.php +++ b/CRM/Utils/System/Standalone.php @@ -205,7 +205,7 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base { ) { $fragment = $fragment ? ('#' . $fragment) : ''; if ($absolute) { - return Civi::paths()->getUrl("[cms.root]/{$path}?{$query}$fragment"); + return Civi::paths()->getUrl("[cms.root]/{$path}?{$query}$fragment", 'absolute'); } else { return "/{$path}?{$query}$fragment";