Hopefully last fix
This commit is contained in:
parent
2bdd433a17
commit
7b5ec2211e
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ class VideoController {
|
|||
$item = $api->getVideoByID($video_id);
|
||||
if ($item->meta->success) {
|
||||
$latte = Misc::latte();
|
||||
$latte->render(Misc::getView('video'), new ItemTemplate($item->info->detail->user->nickname, $item));
|
||||
$latte->render(Misc::getView('video'), new ItemTemplate($item->info->detail->nickname, $item));
|
||||
} else {
|
||||
ErrorHandler::show($item->meta);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue