Explorar o código

Fix method name

Thomas Rabaix %!s(int64=14) %!d(string=hai) anos
pai
achega
fe17ef963f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Datagrid/ListMapper.php

+ 1 - 1
Datagrid/ListMapper.php

@@ -60,7 +60,7 @@ class ListMapper
             $this->admin->addListFieldDescription($name, $fieldDescription);
 
         } else if (is_string($name) && $this->admin->hasListFieldDescription($name)) {
-            $fieldDescription = $this->admin->getFormFieldDescription($name);
+            $fieldDescription = $this->admin->getListFieldDescription($name);
         } else {
 
             throw new \RuntimeException('invalid state');