Skip to content

Commit

Permalink
fix wrong check for existing acl, refs #1034
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Dec 9, 2024
1 parent 4bd8b38 commit b8989a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Models/Videos.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b8989a4

Please sign in to comment.