From cc4a081022a7a441180d5c004eeb90ccc7eb973c Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 27 Oct 2026 16:44:47 -0700 Subject: [PATCH] Fix json decode error --- operator/operator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/operator.php b/operator/operator.php index 6a810ba..2ffde26 100644 --- a/operator/operator.php +++ b/operator/operator.php @@ -87,7 +87,7 @@ public function get_collapsible_link($forum_id) public function get_user_categories() { // Get categories from the user object - $collapsible_categories = (array) json_decode($this->user->data['collapsible_categories'], true); + $collapsible_categories = (array) json_decode($this->user->data['collapsible_categories'] ?? '', true); if (empty($collapsible_categories)) {