diff --git a/user_portal.php b/user_portal.php index 0941b08ef5..b3fdd74bf6 100644 --- a/user_portal.php +++ b/user_portal.php @@ -229,8 +229,8 @@ else{ //check for flash and message $sniff_notification = ''; -if (stripos("flash_yes", $_SESSION['sniff_check_some_activex'])===0 || stripos("flash_yes", $_SESSION['sniff_check_some_plugins'])===0){ - $sniff_notification = Display::return_message(get_lang('NoFlash'), 'warning', false); +if (stripos($_SESSION['sniff_check_some_activex'],"flash_yes")===0 || stripos($_SESSION['sniff_check_some_plugins'],"flash_yes")===0){ + $sniff_notification = Display::return_message(get_lang('NoFlash'), 'warning', true); //js verification - To annoying of redirecting every time the page $controller->tpl->assign('sniff_notification', $sniff_notification); }