1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Remove warning

This commit is contained in:
Daniel Neto 2023-03-20 09:31:30 -03:00
parent b171ed9c6e
commit 18f51e2dc1

View file

@ -20,8 +20,8 @@ if(empty($_REQUEST['id'])){
//$_POST['sort']['comments_id_pai'] = 'DESC'; //$_POST['sort']['comments_id_pai'] = 'DESC';
$_POST['sort']['id'] = 'DESC'; $_POST['sort']['id'] = 'DESC';
} }
$comments = Comment::getAllComments($_REQUEST['video_id'], @$_REQUEST['comments_id']); $comments = Comment::getAllComments(@$_REQUEST['video_id'], @$_REQUEST['comments_id']);
$total = Comment::getTotalComments($_REQUEST['video_id'], @$_REQUEST['comments_id']); $total = Comment::getTotalComments(@$_REQUEST['video_id'], @$_REQUEST['comments_id']);
}else{ }else{
$comment = Comment::getComment($_REQUEST['id']); $comment = Comment::getComment($_REQUEST['id']);
if(!empty($comment)){ if(!empty($comment)){