Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Feb 13, 2025
1 parent 8bc098d commit 8e6c181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/channelBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
$showUnlisted = true;
}

$ownerCanUplaodVideos = $user->getCanUpload() || $user->getIsAdmin();
$ownerCanUplaodVideos = $user->getCanUpload() || $user->getIsAdmin() || AVideoPlugin::userCanUpload($user_id);
//var_dump($ownerCanUplaodVideos, $user_id, $user);exit;
$type = '';
if ($ownerCanUplaodVideos && $advancedCustomUser->showArticlesTab && AVideoPlugin::isEnabledByName('Articles')) {
Expand Down

0 comments on commit 8e6c181

Please sign in to comment.