소스 검색

Added another missing uniqid

Christophe Coevoet 14 년 전
부모
커밋
71b01b1184
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      Controller/HelperController.php

+ 4 - 0
Controller/HelperController.php

@@ -33,8 +33,12 @@ class HelperController extends Controller
         $code       = $request->query->get('code');
         $elementId  = $request->query->get('elementId');
         $objectId   = $request->query->get('objectId');
+        $uniqid     = $this->get('request')->query->get('uniqid');
 
         $admin = $helper->getAdmin($code);
+        if ($uniqid) {
+            $admin->setUniqid($uniqid);
+        }
 
         $subject = $admin->getModelManager()->findOne($admin->getClass(), $objectId);
         if (!$subject) {