fix php5 mistakes and remove disabled code. disabled code might be used to make sure
[squirrelmail.git] / plugins / squirrelspell / setup.php
index f8017a3..a404a62 100644 (file)
@@ -107,7 +107,7 @@ function squirrelspell_upgrade() {
       $new_words=array();
       foreach($aLang_words as $word) {
         if (! preg_match("/^#/",$word) && trim($word)!='') {
-          $new_words[].=$word;
+          $new_words[]=$word;
         }
       }
       sqspell_writeWords($new_words,$lang);