Skip to content

Commit

Permalink
Audio URL not redirecting properly fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zahardev committed Mar 10, 2023
1 parent 23c5d3a commit d059bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/classes/controllers/class-frontend-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ public function download_file() {
}
}

if ( 'test-nginx' !== $_GET['ref'] ) {
if ( 'test-nginx' !== $referrer ) {
// Allow other actions - functions hooked on here must not output any data
do_action( 'ssp_file_download', $file, $episode, $referrer );
}
Expand Down

0 comments on commit d059bd9

Please sign in to comment.