Undefined variable

This commit is contained in:
Pierre Rudloff 2015-04-07 20:57:52 +02:00
parent c0d208b884
commit 41ef2fc836

View file

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