diff options
Diffstat (limited to '')
-rw-r--r-- | action.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/action.php b/action.php index 746ae1733..5c9322a7f 100644 --- a/action.php +++ b/action.php @@ -177,8 +177,7 @@ $http_headers[] = 'Content-Type: '.$ctype; if (!isset($_GET['view'])) { - $http_headers[] = 'Content-Disposition: attachment; filename="' - .basename($file).'";'; + $http_headers[] = 'Content-Disposition: attachment; filename="'.$element_info['file'].'";'; $http_headers[] = 'Content-Transfer-Encoding: binary'; } else |