X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders_create.php;h=884abd422a733f80a785b8278af66a454d34a614;hb=a11df61b949068712242d77e2c18311c93e63979;hp=18d76fbf7492492d9b4577f71b68db15f16f6965;hpb=68f2ce7a0841a249b4ba8d0a1a89a60c11f3d255;p=squirrelmail.git diff --git a/src/folders_create.php b/src/folders_create.php index 18d76fbf..884abd42 100644 --- a/src/folders_create.php +++ b/src/folders_create.php @@ -3,7 +3,7 @@ /** * folders_create.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2003 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Creates folders on the IMAP server. @@ -46,7 +46,7 @@ if (substr_count($folder_name, '"') || substr_count($folder_name, "\\") || exit; } -$subfolder = imap_utf7_decode_local($subfolder); +$folder_name = imap_utf7_encode_local($folder_name); if (isset($contain_subs) && $contain_subs ) { $folder_name = $folder_name . $delimiter;