Minor - fixing PHP notice.

1.9.x
Julio Montoya 12 years ago
parent 775f007028
commit 82b95d4c24
  1. 2
      main/inc/lib/document.lib.php

@ -321,7 +321,7 @@ class DocumentManager
// Force the browser to save the file instead of opening it
global $_configuration;
if (!empty($_configuration['enable_x_sendfile_headers'])) {
if (isset($_configuration['enable_x_sendfile_headers']) && !empty($_configuration['enable_x_sendfile_headers'])) {
header("X-Sendfile: $filename");
}

Loading…
Cancel
Save