Fix deadlock condition in documents download

1.9.x
Noel Dieschburg 11 years ago committed by Yannick Warnier
parent bc94d5c286
commit 333319ba12
  1. 1
      main/inc/lib/document.lib.php

@ -304,6 +304,7 @@ class DocumentManager
*/
public static function file_send_for_download($full_file_name, $forced = false, $name = '')
{
session_write_close(); //we do not need write access to session anymore
if (!is_file($full_file_name)) {
return false;
}

Loading…
Cancel
Save