removing level 2 nesting test
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 21 Dec 2015 17:56:38 +0000 (12:56 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 21 Dec 2015 17:56:38 +0000 (12:56 -0500)
index.php

index b5f014e..db01542 100644 (file)
--- a/index.php
+++ b/index.php
@@ -216,13 +216,13 @@ function michsci_get_terms_dropdown()
                     $output .= ' selected';
                 }
                 $output .= '>' . "&nbsp&nbsp&nbsp" .  $child->name . '</option>';
-                foreach($grandchildren as $grandchild){
-                    $output .= '<option value="' . $grandchild->term_id . '"';
-                    if ($_REQUEST['michsci_category'] == $grandchild->term_id) {
-                        $output .= ' selected';
-                    }
-                    $output .= '>' . "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp" .  $grandchild->name . '</option>';
-                }
+//                foreach($grandchildren as $grandchild){
+//                    $output .= '<option value="' . $grandchild->term_id . '"';
+//                    if ($_REQUEST['michsci_category'] == $grandchild->term_id) {
+//                        $output .= ' selected';
+//                    }
+//                    $output .= '>' . "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp" .  $grandchild->name . '</option>';
+//                }
             }
         } 
     $output .="</select>";