Skip to content

Commit b8989a4

Browse files
committed
fix wrong check for existing acl, refs #1034
1 parent 4bd8b38 commit b8989a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Models/Videos.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ public function updateAcl($new_vis = null)
740740
$current_acl = $api_client->getAcl($this->episode);
741741

742742
// prevent updating acl if something went wrong
743-
if (!is_array($acl)) {
743+
if (!is_array($current_acl)) {
744744
return;
745745
}
746746

0 commit comments

Comments
 (0)