From 7adeebb8380b6ef8b4794afe19ec3f4bdcc82cba Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Sat, 2 Dec 2023 23:37:41 +0000 Subject: [PATCH] standalone: fix not returning absolute paths from System class Simple one this. --- CRM/Utils/System/Standalone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.25.1