No button if format list

This commit is contained in:
Pierre Rudloff 2014-05-23 19:35:38 +02:00
parent ba963cad50
commit 245d46c164

View file

@ -66,8 +66,12 @@ if (isset($_GET["url"])) {
<input type="hidden" name="format" value="best" />
<?php
}
if (!isset($video->formats)) {
?>
<input class="downloadBtn" type="submit" value="Download" /><br/>
<?php
}
?>
</form>
</div>
</div>