/[drupal]/contributions/modules/taxonomy_browser/taxonomy_browser.module
ViewVC logotype

Diff of /contributions/modules/taxonomy_browser/taxonomy_browser.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.19.2.31, Thu Aug 14 14:27:13 2008 UTC revision 1.19.2.32, Thu Sep 25 20:43:50 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_browser.module,v 1.19.2.30 2008/07/22 00:47:13 nancyw Exp $  // $Id: taxonomy_browser.module,v 1.19.2.31 2008/08/14 14:27:13 nancyw Exp $
3  // Original by Moshe Weitzman (weitzmna@tejasa.com)  // Original by Moshe Weitzman (weitzmna@tejasa.com)
4    
5  /**  /**
# Line 582  function _taxonomy_browser_get_tid_list( Line 582  function _taxonomy_browser_get_tid_list(
582      foreach ($tids as $key => $tid) {      foreach ($tids as $key => $tid) {
583        if (!empty($tid)) {        if (!empty($tid)) {
584          if (is_array($tid)) {          if (is_array($tid)) {
585            foreach ($tid as $key2 => $tid2) {          foreach ($tid as $key2 => $tid2) {
586              if (!empty($tid2)) {              if (!empty($tid2)) {
587                $tid_list[$tid2] = $tid2;                if (is_array($tid2)) {
588                    foreach ($tid2 as $key3 => $tid3) {
589                      if (!empty($tid3)) {
590                        $tid_list[$tid3] = $tid3;
591                      }
592                    }
593                  }
594                  else {
595                    $tid_list[$tid2] = $tid2;
596                  }
597              }              }
598            }            }
599          }          }
600          else {          else {
601            $tid_list[$tid] = $tid;            $tid_list[$tid] = $tid;
602          }          }
603        } /* end !empty */        }
604      } /* end foreach */      }
605    }    }
606    
607    if ($include_children) {    if ($include_children) {

Legend:
Removed from v.1.19.2.31  
changed lines
  Added in v.1.19.2.32

  ViewVC Help
Powered by ViewVC 1.1.2