fixed warnings
[squirrelmail.git] / plugins / squirrelspell / modules / edit_dic.mod
index ed8973603d28092b6d012efb7248a4cb7ae82a5b..7cf99e35fb65add1ceea9dd711538188a7ed36b6 100644 (file)
@@ -51,7 +51,7 @@ if (!$words){
        * language we're processing, prepend the output with the
        * "header" message.
        */
        * 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>"
        $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>'
           . "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>'
         . '<input type="submit" value="' . _("Delete checked words") 
         . '"></form>'
         . '</td></tr><tr><td><hr>'