commit 4f8fa5569778111a163615c87ffb224bf1f2e55c parent efbbc6ea5f214d36c30efc6851c734e2d3afd54b Author: dankert <devnull@localhost> Date: Fri, 6 Mar 2009 14:25:17 +0100 Bugfix: Abspeichern von Listen-Auswahlwerten. Diffstat:
actionClasses/ElementAction.class.php | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/actionClasses/ElementAction.class.php b/actionClasses/ElementAction.class.php @@ -148,7 +148,7 @@ class ElementAction extends Action /** - * Auswahlmaske für weitere Einstellungen zum Template-Element. + * Auswahlmaske f�r weitere Einstellungen zum Template-Element. * */ function properties() @@ -585,7 +585,10 @@ class ElementAction extends Action $this->element->thousandSep = $this->getRequestVar('thousand_sep'); $this->element->folderObjectId = $this->getRequestVar('folderobjectid' ); $this->element->defaultObjectId = $this->getRequestVar('default_objectid'); - $this->element->code = $this->getRequestVar('code' ); + if ( $this->hasRequestVar('select_items')) + $this->element->code = $this->getRequestVar('select_items'); + else + $this->element->code = $this->getRequestVar('code' ); if ( $this->hasRequestVar('name') ) $this->element->name = $this->getRequestVar('name');