Fixed some mistakes.
[squirrelmail.git] / plugins / squirrelspell / modules / edit_dic.mod
index 3ef3988005823b6a69b42338015907e3400d736e..d96fe3220eb0500c8f8282889010038b2c9f8e90 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 lets the user edit his/her personal dictionary.
@@ -51,7 +51,7 @@ if (!$words){
        * language we're processing, prepend the output with the
        * "header" message.
        */
-      if (!$msg) {
+      if (!isset($msg) || !$msg) {
        $msg = $pre_msg;
       }
       $msg .= "<tr bgcolor=\"$color[0]\" align=\"center\"><th>"