projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c000a2
)
Fix 'Authorization Failed' regression when submitting eg. webform via checksum
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Fri, 27 May 2022 10:37:24 +0000
(11:37 +0100)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Fri, 27 May 2022 10:38:22 +0000
(11:38 +0100)
CRM/Utils/Recent.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Recent.php
b/CRM/Utils/Recent.php
index a2a22ebb4127b75d3a1185cfa466b962d372439f..04e5801edb75f7a02f084c94ef7ea096a76386ff 100644
(file)
--- 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)