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; }