From: avl Date: Thu, 19 Nov 2009 12:23:28 +0000 (+0200) Subject: 12 X-Git-Tag: 0.5~371 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=8a99553233f07e5b2d4d99f2c8414c341766f0fe;p=ipf.git 12 --- diff --git a/ipf/form/field/treemodelchoice.php b/ipf/form/field/treemodelchoice.php index 7c78e4b..a2818d3 100644 --- a/ipf/form/field/treemodelchoice.php +++ b/ipf/form/field/treemodelchoice.php @@ -27,7 +27,7 @@ class IPF_Form_Field_TreeModelChoice extends IPF_Form_Field_Choice{ continue; } $name = str_repeat("-", $level).$o['name']; - $choices[$name] = $valname.$o->id; + $choices[$name.' ('.$valname.$o->id.')'] = $valname.$o->id; if ($level<(count($this->_models)-1)){ $this->_collectTreeRecursive(&$choices,$level+1,$o->id,$valname.$o->id.'.'); }