1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
DanieL 2022-11-19 17:45:17 -03:00
parent 00ff264631
commit 3842e8b242
20 changed files with 221 additions and 160 deletions

View file

@ -124,7 +124,7 @@ if (empty($output)) {
$obj->playlists = [['name' => $playlistName, 'itemIds'=>$itemIds]];
$obj->categories = [['name' => $categoryName, 'playlistName' => $playlistName, 'order' => 'most_recent']];
$output = _json_encode($obj, JSON_UNESCAPED_UNICODE);
$output = _json_encode($obj);
if (empty($output) && json_last_error()) {
$output = json_encode(json_last_error_msg());
var_dump($obj);