From b7bcc24320a477abdb6f9c48181f862438775490 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 22 Apr 2019 21:07:36 +0200 Subject: [PATCH] fix: Wrong variable name --- classes/Video.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Video.php b/classes/Video.php index 0be27d9..127102c 100644 --- a/classes/Video.php +++ b/classes/Video.php @@ -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.')); } }