Thomas 14 年之前
父节点
当前提交
80cea9b0b6
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      Admin/Admin.php
  2. 0 1
      Controller/CRUDController.php

+ 1 - 1
Admin/Admin.php

@@ -774,7 +774,7 @@ abstract class Admin implements AdminInterface
             $parameters[$this->getParent()->getIdParameter()] = $this->request->get($this->getParent()->getIdParameter());
             $parameters[$this->getParent()->getIdParameter()] = $this->request->get($this->getParent()->getIdParameter());
         }
         }
 
 
-        // if the admin is lnked to a parent FieldDescription (ie, embedded widget)
+        // if the admin is linked to a parent FieldDescription (ie, embedded widget)
         if ($this->hasParentFieldDescription()) {
         if ($this->hasParentFieldDescription()) {
             // merge link parameter if any provided by the parent field
             // merge link parameter if any provided by the parent field
             $parameters = array_merge($parameters, $this->getParentFieldDescription()->getOption('link_parameters', array()));
             $parameters = array_merge($parameters, $this->getParentFieldDescription()->getOption('link_parameters', array()));

+ 0 - 1
Controller/CRUDController.php

@@ -168,7 +168,6 @@ class CRUDController extends Controller
         // todo
         // todo
     }
     }
 
 
-
     /**
     /**
      * return the Response object associated to the edit action
      * return the Response object associated to the edit action
      *
      *