Fix test coverage
This commit is contained in:
parent
c7b7a9670d
commit
2b9914f1db
1 changed files with 2 additions and 3 deletions
|
@ -257,12 +257,11 @@ class FrontController
|
||||||
} else {
|
} else {
|
||||||
$template = 'video.tpl';
|
$template = 'video.tpl';
|
||||||
}
|
}
|
||||||
|
$title = 'Video download';
|
||||||
|
$description = 'Download video from '.$video->extractor_key;
|
||||||
if (isset($video->title)) {
|
if (isset($video->title)) {
|
||||||
$title = $video->title;
|
$title = $video->title;
|
||||||
$description = 'Download "'.$video->title.'" from '.$video->extractor_key;
|
$description = 'Download "'.$video->title.'" from '.$video->extractor_key;
|
||||||
} else {
|
|
||||||
$title = 'Video download';
|
|
||||||
$description = 'Download video from '.$video->extractor_key;
|
|
||||||
}
|
}
|
||||||
$this->view->render(
|
$this->view->render(
|
||||||
$response,
|
$response,
|
||||||
|
|
Loading…
Reference in a new issue