ソースを参照

Fix for PR1345

Dean de Bree 12 年 前
コミット
d5e9cfd1a9
1 ファイル変更2 行追加1 行削除
  1. 2 1
      Mapper/BaseGroupedMapper.php

+ 2 - 1
Mapper/BaseGroupedMapper.php

@@ -67,8 +67,9 @@ abstract class BaseGroupedMapper extends BaseMapper
      */
     protected function addFieldToCurrentGroup($fieldName) 
     {
+        $currentGroup = $this->getCurrentGroupName();
         $groups = $this->getGroups();
-        $groups[$this->getCurrentGroupName()]['fields'][$fieldName] = $fieldName;
+        $groups[$currentGroup]['fields'][$fieldName] = $fieldName;
         $this->setGroups($groups);
     }