/[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.11.2.21, Thu Aug 14 14:27:30 2008 UTC revision 1.19.2.11.2.22, Thu Sep 25 20:43:33 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_browser.module,v 1.19.2.11.2.20 2008/07/22 00:47:02 nancyw Exp $  // $Id: taxonomy_browser.module,v 1.19.2.11.2.21 2008/08/14 14:27:30 nancyw Exp $
3  // Original by Moshe Weitzman (weitzmna@tejasa.com)  // Original by Moshe Weitzman (weitzmna@tejasa.com)
4    
5  /**  /**
# Line 590  function _taxonomy_browser_get_tid_list( Line 590  function _taxonomy_browser_get_tid_list(
590      foreach ($tids as $key => $tid) {      foreach ($tids as $key => $tid) {
591        if (!empty($tid)) {        if (!empty($tid)) {
592          if (is_array($tid)) {          if (is_array($tid)) {
593            foreach ($tid as $key2 => $tid2) {          foreach ($tid as $key2 => $tid2) {
594              if (!empty($tid2)) {              if (!empty($tid2)) {
595                $tid_list[$tid2] = $tid2;                if (is_array($tid2)) {
596                    foreach ($tid2 as $key3 => $tid3) {
597                      if (!empty($tid3)) {
598                        $tid_list[$tid3] = $tid3;
599                      }
600                    }
601                  }
602                  else {
603                    $tid_list[$tid2] = $tid2;
604                  }
605              }              }
606            }            }
607          }          }
608          else {          else {
609            $tid_list[$tid] = $tid;            $tid_list[$tid] = $tid;
610          }          }
611        } /* end !empty */        }
612      } /* end foreach */      }
613    }    }
614    
615    if ($include_children) {    if ($include_children) {

Legend:
Removed from v.1.19.2.11.2.21  
changed lines
  Added in v.1.19.2.11.2.22

  ViewVC Help
Powered by ViewVC 1.1.2