Undefined variable

This commit is contained in:
Pierre Rudloff 2015-04-07 20:57:52 +02:00
parent c0d208b884
commit 41ef2fc836
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ require_once 'common.php';
require_once 'download.php';
if (isset($_GET["url"])) {
if (isset($_GET['audio'])) {
$video = VideoDownload::getJSON($_GET["url"], $_GET["format"]);
$video = VideoDownload::getJSON($_GET["url"]);
if (isset($video->url)) {
//Vimeo needs a correct user-agent