mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
avoid warnings
This commit is contained in:
parent
8187e0b026
commit
21e3659612
2 changed files with 6 additions and 0 deletions
|
@ -76,5 +76,8 @@ if (empty($feed)) {
|
|||
}else{
|
||||
//echo '<!-- cache -->';
|
||||
}
|
||||
if(!is_string($feed)){
|
||||
$feed = json_encode($feed);
|
||||
}
|
||||
echo $feed;
|
||||
?>
|
|
@ -66,5 +66,8 @@ if (empty($feed)) {
|
|||
}else{
|
||||
echo '<!-- cache -->';
|
||||
}
|
||||
if(!is_string($feed)){
|
||||
$feed = json_encode($feed);
|
||||
}
|
||||
echo $feed;
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue