git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13020
7612ce4b-ef26-0410-bec9-
ea0150e637f0
// If there's no "view_unsafe_images" variable in the URL, turn unsafe
// images off by default.
// If there's no "view_unsafe_images" variable in the URL, turn unsafe
// images off by default.
- // FIXME: Update this code to use the default value FALSE.
- if( !sqgetGlobalVar('view_unsafe_images', $view_unsafe_images, SQ_GET) ) {
- $view_unsafe_images = false;
- }
+ sqgetGlobalVar('view_unsafe_images', $view_unsafe_images, SQ_GET, FALSE);
$body = '';
$urlmailbox = urlencode($mailbox);
$body = '';
$urlmailbox = urlencode($mailbox);
// If there's no "view_unsafe_images" variable in the URL, turn unsafe
// images off by default.
// If there's no "view_unsafe_images" variable in the URL, turn unsafe
// images off by default.
- // FIXME: Update this code to use the default value FALSE.
- if( !sqgetGlobalVar('view_unsafe_images', $view_unsafe_images, SQ_GET) ) {
- $view_unsafe_images = false;
- }
+ sqgetGlobalVar('view_unsafe_images', $view_unsafe_images, SQ_GET, FALSE);
$secremoveimg = '../images/' . _("sec_remove_eng.png");
$secremoveimg = '../images/' . _("sec_remove_eng.png");
// If there's no "view_unsafe_images" variable in the URL, turn unsafe
// images off by default.
// If there's no "view_unsafe_images" variable in the URL, turn unsafe
// images off by default.
- // FIXME: Update this code to use the default value FALSE.
- if( !sqgetGlobalVar('view_unsafe_images', $view_unsafe_images, SQ_GET) ) {
- $view_unsafe_images = false;
- }
+ sqgetGlobalVar('view_unsafe_images', $view_unsafe_images, SQ_GET, FALSE);
if (!$view_unsafe_images){
/**
if (!$view_unsafe_images){
/**