From: kink Date: Wed, 23 Oct 2002 12:14:12 +0000 (+0000) Subject: rg=0 fix from stable X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=77bfbd2e9ccc469e31dcca1d374e8ce8916db44f;p=squirrelmail.git rg=0 fix from stable git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3945 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index 0984dccf..3b7936d5 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -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 = '';