fix: Wrong variable name
This commit is contained in:
parent
e13404903b
commit
b7bcc24320
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class Video
|
||||||
if (!isset($this->urls)) {
|
if (!isset($this->urls)) {
|
||||||
$this->urls = explode("\n", $this->getProp('get-url'));
|
$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.'));
|
throw new EmptyUrlException(_('youtube-dl returned an empty URL.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue