From ba62abc19b9ae8618e206ee37c014bd1feda0fc0 Mon Sep 17 00:00:00 2001 From: ma0068 Date: Wed, 18 Dec 2024 14:57:18 +0100 Subject: [PATCH] bug stv --- application/controllers/api/frontend/v1/stv/Favorites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/api/frontend/v1/stv/Favorites.php b/application/controllers/api/frontend/v1/stv/Favorites.php index 8d7a6cd14..b8fe6f3d7 100644 --- a/application/controllers/api/frontend/v1/stv/Favorites.php +++ b/application/controllers/api/frontend/v1/stv/Favorites.php @@ -48,7 +48,7 @@ class Favorites extends FHCAPI_Controller if (!$data) $this->terminateWithSuccess(null); else - $this->terminateWithSuccess($data['stv_favorites']); + $this->terminateWithSuccess($data['stv_favorites'] ?? null); } public function set()