From 25049c09e0badc7ef368895f011080e70a816a06 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Fri, 27 May 2022 11:37:24 +0100 Subject: [PATCH] Fix 'Authorization Failed' regression when submitting eg. webform via checksum --- CRM/Utils/Recent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Recent.php b/CRM/Utils/Recent.php index a2a22ebb41..04e5801edb 100644 --- a/CRM/Utils/Recent.php +++ b/CRM/Utils/Recent.php @@ -244,7 +244,7 @@ class CRM_Utils_Recent { } elseif ($event->action === 'edit') { if (isset($event->object->is_deleted)) { - \Civi\Api4\RecentItem::update() + \Civi\Api4\RecentItem::update(FALSE) ->addWhere('entity_type', '=', $entityType) ->addWhere('entity_id', '=', $event->id) ->addValue('is_deleted', (bool) $event->object->is_deleted) -- 2.25.1