From a84ccaa2a273a4f2168d80d1f910c287d1978ad4 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 9 Sep 2011 14:04:26 +0200 Subject: [PATCH] Replacing display::display_error_message to display::return_message because the first function echos the messages ... #3874 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 506c940c34..ae90878e29 100755 --- a/index.php +++ b/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')).'"); } ';