fix: Wrong variable name

This commit is contained in:
Pierre Rudloff 2019-04-22 21:07:36 +02:00
parent e13404903b
commit b7bcc24320

View file

@ -233,7 +233,7 @@ class Video
if (!isset($this->urls)) {
$this->urls = explode("\n", $this->getProp('get-url'));
if (empty($urls[0])) {
if (empty($this->urls[0])) {
throw new EmptyUrlException(_('youtube-dl returned an empty URL.'));
}
}