From 54d1756e09486e100096f5eedc45a3e09953c349 Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Mon, 20 Feb 2023 12:50:45 +0000 Subject: [PATCH] standalone: correct detection of standalone security class --- 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 a251e9ae28..29677f3a44 100644 --- a/CRM/Utils/System/Standalone.php +++ b/CRM/Utils/System/Standalone.php @@ -25,7 +25,7 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base { public $missingStandaloneExtension = TRUE; public function __construct() { - $this->missingStandaloneExtension = class_exists(\Civi\Standalone\Security::class); + $this->missingStandaloneExtension = !class_exists(\Civi\Standalone\Security::class); } /** -- 2.25.1