Replacing display::display_error_message to display::return_message because the first function echos the messages ... #3874

skala
Julio Montoya 13 years ago
parent 67641528ae
commit a84ccaa2a2
  1. 4
      index.php

@ -40,13 +40,13 @@ $htmlHeadXtra[] ='
});
if(navigator.cookieEnabled==false){
document.writeln("'.addslashes(Display::display_error_message(get_lang("NoCookies"))).'");
document.writeln("'.addslashes(Display::return_message(get_lang("NoCookies"), 'error')).'");
}
</script>
<noscript>
'.addslashes(Display::display_error_message(get_lang("NoJavascript"))).'
'.addslashes(Display::return_message(get_lang("NoJavascript"), 'error')).'
</noscript>
';

Loading…
Cancel
Save