소스 검색

bugfix different declaration

andre 1 년 전
부모
커밋
3d1a1ec62e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/UI/MainContainer.php

+ 1 - 1
core/UI/MainContainer.php

@@ -30,7 +30,7 @@ class MainContainer extends Container
         $this->prepareElemnentsContainers();
     }
 
-    public function addElement($element, $containerName = null)
+    public function addElement($element = null, $containerName = null)
     {
         if (is_string($element))
         {