diff --git a/module/execution/model.php b/module/execution/model.php index f1aa8f66c7..04b0769123 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -5163,11 +5163,6 @@ class executionModel extends model if(is_array($tree)) $tree = (object)$tree; switch($tree->type) { - case 'module': - $this->app->loadLang('tree'); - $html .= "
  • "; - $html .= "" . $tree->name . ''; - break; case 'task': $link = helper::createLink('execution', 'treeTask', "taskID={$tree->id}"); $html .= '
  • '; @@ -5190,6 +5185,11 @@ class executionModel extends model $html .= "
  • "; $html .= "{$this->lang->branch->common}{$tree->name}"; break; + default: + $this->app->loadLang('tree'); + $html .= "
  • "; + $html .= "" . $tree->name . ''; + break; } if(isset($tree->children)) {