Bläddra i källkod

! Remove another ie6 check

Signed-off-by: Spuds <[email protected]>
Spuds 12 år sedan
förälder
incheckning
2f70b7564d
1 ändrade filer med 1 tillägg och 5 borttagningar
  1. 1 5
      Sources/Display.php

+ 1 - 5
Sources/Display.php

@@ -1430,12 +1430,8 @@ function Download()
 	header('Connection: close');
 	header('ETag: ' . $eTag);
 
-	// IE 6 just doesn't play nice. As dirty as this seems, it works.
-	if (isBrowser('ie6') && isset($_REQUEST['image']))
-		unset($_REQUEST['image']);
-
 	// Make sure the mime type warrants an inline display.
-	elseif (isset($_REQUEST['image']) && !empty($mime_type) && strpos($mime_type, 'image/') !== 0)
+	if (isset($_REQUEST['image']) && !empty($mime_type) && strpos($mime_type, 'image/') !== 0)
 		unset($_REQUEST['image']);
 
 	// Does this have a mime type?