diff --git a/view/channelBody.php b/view/channelBody.php index 8ba49391a..99847f604 100644 --- a/view/channelBody.php +++ b/view/channelBody.php @@ -1,113 +1,113 @@ getChannelName(); $_POST['sort']['created'] = "DESC"; if (empty($_GET['current'])) { $_POST['current'] = 1; } else { $_POST['current'] = $_GET['current']; } $current = $_POST['current']; $rowCount = 25; $_POST['rowCount'] = $rowCount; -$uploadedVideos = Video::getAllVideosAsync("a", $user_id, !isToHidePrivateVideos()); +$uploadedVideos = Video::getAllVideos("a", $user_id, !isToHidePrivateVideos()); $uploadedTotalVideos = Video::getTotalVideos("a", $user_id, !isToHidePrivateVideos()); $totalPages = ceil($uploadedTotalVideos / $rowCount); unset($_POST['sort']); unset($_POST['rowCount']); unset($_POST['current']); $get = array('channelName' => $_GET['channelName']); $palyListsObj = YouPHPTubePlugin::getObjectDataIfEnabled('PlayLists'); ?> - +
\ No newline at end of file