Getting ready for 1.4.0 RC1
[squirrelmail.git] / plugins / squirrelspell / modules / edit_dic.mod
index ed8973603d28092b6d012efb7248a4cb7ae82a5b..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>"
@@ -85,7 +85,7 @@ if (!$words){
           . "value=\"$words_ary[$j]\"> $words_ary[$j]<br>";
       }
       $msg .= '</td></tr></table></td></tr>'
-        . "<tr bgcolor=\"$color[0]\" align=\"center\"><td>".
+        . "<tr bgcolor=\"$color[0]\" align=\"center\"><td>"
         . '<input type="submit" value="' . _("Delete checked words") 
         . '"></form>'
         . '</td></tr><tr><td><hr>'