--- C:/Documents and Settings/Sina/Local Settings/Temp/taxonomy_super_select.module-revBASE.svn000.tmp.module	Sat Apr 26 21:10:09 2008
+++ D:/Developing/Projects/Ace Rainbow/site/weblog/sites/all/modules/taxonomy_super_select/taxonomy_super_select.module	Sat Apr 26 21:09:01 2008
@@ -85,6 +85,7 @@
         $form['taxonomy'][$vid]['tags'] = $tags[$vid];
       }
       // First level terms
+      if (is_array($terms))
       foreach($terms AS $index => $term){
         $child1 = taxonomy_get_children($term->tid, $vid);
         if(count($child1)){
