@@ -566,7 +566,7 @@ |
||
566 | 566 | curl_close($ch); |
567 | 567 | |
568 | 568 | if (!$forceDownload) { |
569 | - fclose($file); |
|
569 | + fclose($file); |
|
570 | 570 | } |
571 | 571 | |
572 | 572 | /* |
@@ -591,8 +591,7 @@ |
||
591 | 591 | header('Content-Type: application/octet-stream'); |
592 | 592 | header('Content-Disposition: attachment; filename='.basename($url)); |
593 | 593 | header('Content-Transfer-Encoding: binary'); |
594 | - } |
|
595 | - else { |
|
594 | + } else { |
|
596 | 595 | fclose($file); |
597 | 596 | } |
598 | 597 |