]> git.andy128k.dev Git - ipf.git/commitdiff
12
authoravl <alex.litovchenko@gmail.com>
Thu, 19 Nov 2009 12:23:28 +0000 (14:23 +0200)
committeravl <alex.litovchenko@gmail.com>
Thu, 19 Nov 2009 12:23:28 +0000 (14:23 +0200)
ipf/form/field/treemodelchoice.php

index 7c78e4bef189639fbf0afdf4e00631f2a48e470d..a2818d33aadaa5b9b8d8af6dfbc974f65aca97f0 100644 (file)
@@ -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.'.');
                }