From 8a99553233f07e5b2d4d99f2c8414c341766f0fe Mon Sep 17 00:00:00 2001 From: avl Date: Thu, 19 Nov 2009 14:23:28 +0200 Subject: [PATCH] 12 --- ipf/form/field/treemodelchoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'.'); } -- 2.49.0