* ------------------
* 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