Fix test coverage

This commit is contained in:
Pierre Rudloff 2017-09-29 01:11:19 +02:00
parent c7b7a9670d
commit 2b9914f1db

View file

@ -257,12 +257,11 @@ class FrontController
} else {
$template = 'video.tpl';
}
$title = 'Video download';
$description = 'Download video from '.$video->extractor_key;
if (isset($video->title)) {
$title = $video->title;
$description = 'Download "'.$video->title.'" from '.$video->extractor_key;
} else {
$title = 'Video download';
$description = 'Download video from '.$video->extractor_key;
}
$this->view->render(
$response,