Undefined variable
This commit is contained in:
parent
c0d208b884
commit
41ef2fc836
1 changed files with 1 additions and 1 deletions
2
api.php
2
api.php
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue