Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit f7c1fac

Browse files
committed
Validate using data key insetad of 'success'
1 parent 8d89656 commit f7c1fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function return404() {
3939
return404();
4040
}
4141

42-
if ($response->success) {
42+
if ($response->data) {
4343

4444
// Set headers
4545
header("Content-Description: File Transfer");

0 commit comments

Comments
 (0)