From f9efdfd98e8dc7b8144cc759260f0f25f6d5f1fb Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 25 Dec 2025 19:07:51 +0200 Subject: [PATCH] fix: use nullsafe operator for project attribute retrieval in Action class --- .../Databases/Http/Databases/Collections/Documents/Action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php index 45a06f506e..f16d00998d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php @@ -382,7 +382,7 @@ abstract class Action extends DatabasesAction ->from($queueForEvents) ->trigger(); - if (!empty($queueForEvents->getProject()->getAttribute('webhooks', []))) { + if (!empty($queueForEvents->getProject()?->getAttribute('webhooks', []))) { $queueForWebhooks ->from($queueForEvents) ->trigger();