From 8d5f9ed0f631b1e42d9d85aedae967794cfbc4d4 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 23 Sep 2025 08:49:28 +0200 Subject: [PATCH] refactor(cache): update team retrieval method in ClearsGlobalSearchCache trait --- app/Traits/ClearsGlobalSearchCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/ClearsGlobalSearchCache.php b/app/Traits/ClearsGlobalSearchCache.php index 0bcc5d319..d1cd2c5f5 100644 --- a/app/Traits/ClearsGlobalSearchCache.php +++ b/app/Traits/ClearsGlobalSearchCache.php @@ -65,7 +65,7 @@ trait ClearsGlobalSearchCache { // For database models, team is accessed through environment.project.team if (method_exists($this, 'team')) { - $team = $this->team(); + $team = $this->team; if (filled($team)) { return is_object($team) ? $team->id : null; }