utf-8 is already converted by ja_JP extra functions.
[squirrelmail.git] / plugins / squirrelspell / modules / crypto_badkey.mod
index 6a1926969da7200bbad5a5f4b77843d5be2ee7c7..72203cc181249440201163f777c9fed0630cdc0f 100644 (file)
@@ -4,7 +4,7 @@
  * ------------------
  * Squirrelspell module
  *
- * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Copyright (c) 1999-2003 The SquirrelMail development team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This module tries to decrypt the user dictionary with a newly provided
  * @version $Date$
  */
 
-global $delete_words, $SCRIPT_NAME, $old_key;
+global $SCRIPT_NAME;
+
+$delete_words = $_POST['delete_words'];
+if(isset($_POST['old_key'])) {
+    $old_key = $_POST['old_key'];
+}
+
 if ($delete_words=='ON'){
   /**
    * $delete_words is passed via the query_string. If it's set, then