1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

avoid warnings

This commit is contained in:
DanielnetoDotCom 2021-05-07 07:36:25 -03:00
parent 8187e0b026
commit 21e3659612
2 changed files with 6 additions and 0 deletions

View file

@ -66,5 +66,8 @@ if (empty($feed)) {
}else{
echo '<!-- cache -->';
}
if(!is_string($feed)){
$feed = json_encode($feed);
}
echo $feed;
?>