E_ALL fix; missing ' around index name
[squirrelmail.git] / src / folders_create.php
index 18d76fbf7492492d9b4577f71b68db15f16f6965..884abd422a733f80a785b8278af66a454d34a614 100644 (file)
@@ -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;