From b8989a48759ceaa23d412accc28e88d88d96763d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Gl=C3=B6ggler?= Date: Mon, 9 Dec 2024 15:17:26 +0100 Subject: [PATCH] fix wrong check for existing acl, refs #1034 --- lib/Models/Videos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Models/Videos.php b/lib/Models/Videos.php index 87b899aa..f20afd85 100644 --- a/lib/Models/Videos.php +++ b/lib/Models/Videos.php @@ -740,7 +740,7 @@ public function updateAcl($new_vis = null) $current_acl = $api_client->getAcl($this->episode); // prevent updating acl if something went wrong - if (!is_array($acl)) { + if (!is_array($current_acl)) { return; }