Remove REQUEST
This commit is contained in:
parent
2e8be957ea
commit
4cd07cb7c8
@ -90,7 +90,7 @@ if (preg_match('/\.tiff$/i',$original_file)) { $attachment = true; }
|
|||||||
// Calendar
|
// Calendar
|
||||||
if (preg_match('/\.vcs$/i',$original_file)) { $attachment = true; }
|
if (preg_match('/\.vcs$/i',$original_file)) { $attachment = true; }
|
||||||
if (preg_match('/\.ics$/i',$original_file)) { $attachment = true; }
|
if (preg_match('/\.ics$/i',$original_file)) { $attachment = true; }
|
||||||
if ($_REQUEST["attachment"]) { $attachment = true; }
|
if (GETPOST("attachment")) { $attachment = true; }
|
||||||
if (! empty($conf->global->MAIN_DISABLE_FORCE_SAVEAS)) $attachment=false;
|
if (! empty($conf->global->MAIN_DISABLE_FORCE_SAVEAS)) $attachment=false;
|
||||||
//print "XX".$attachment;exit;
|
//print "XX".$attachment;exit;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user