|
@@ -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 = '';
|