// 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);
// 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");
// 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){
/**