rg=0 fix from stable
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 12:14:12 +0000 (12:14 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 12:14:12 +0000 (12:14 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3945 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 0984dccf143f7643efd8d8b40be24fa2b87b33ef..3b7936d58f50a63956e3ec3265092d830ec22f41 100644 (file)
@@ -323,7 +323,14 @@ function formatBody($imap_stream, $message, $color, $wrap_at, $ent_num, $id, $ma
      * order that is their priority.
      */
     global $startMessage, $username, $key, $imapServerAddress, $imapPort,
-           $show_html_default, $has_unsafe_images, $view_unsafe_images, $sort;
+           $show_html_default, $has_unsafe_images, $sort;
+
+    if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) {
+        global $_GET;
+    }
+    if(isset($_GET['view_unsafe_images'])) {
+        $view_unsafe_images = $_GET['view_unsafe_images'];
+    }
 
     $has_unsafe_images= 0;
     $body = '';