Просмотр исходного кода

bugfix Undefined constant ajax

andre 1 год назад
Родитель
Сommit
a568be6545
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/UI/Traits/ContainerElements.php

+ 1 - 1
core/UI/Traits/ContainerElements.php

@@ -52,7 +52,7 @@ trait ContainerElements
 
         $this->addElementToContainer($element, $containerName);
 
-        if (!$element->wasInitialized() && $this->getRequestValue(ajax) == 1)
+        if (!$element->wasInitialized() && $this->getRequestValue('ajax') == 1)
         {
             $element->runInitContentProcess();
         }