Переглянути джерело

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))
         {