From dc41dc19271292491d5fe0c95c697c817702923b Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 5 Nov 2009 14:47:13 -0500 Subject: [PATCH] Fixing \"cannot display page\" message after importing users in ie6 --- main/admin/user_import.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/admin/user_import.php b/main/admin/user_import.php index 14a7c33733..1ca9b23aa3 100644 --- a/main/admin/user_import.php +++ b/main/admin/user_import.php @@ -359,9 +359,9 @@ if ($_POST['formSent'] AND $_FILES['import_file']['size'] !== 0) { if (api_strlen($error_message) > 150) { $_SESSION['session_message_import_users'] = $error_message; $error_message = 'session_message'; - } - header('Location: user_list.php?action=show_message&message='.urlencode($see_message_import).'&warn='.urlencode($error_message).'&sec_token='.$tok); - exit (); + } + header('Location: '.api_get_path(WEB_CODE_PATH).'admin/user_list.php?action=show_message&message='.urlencode($see_message_import).'&warn='.urlencode($error_message).'&sec_token='.$tok); + exit; } Display :: display_header($tool_name);