Răsfoiți Sursa

Merge branch 'master' of https://github.com/unaio/una

AntonLV 6 ani în urmă
părinte
comite
2b31feb262
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      studio/template/scripts/BxBaseStudioBuilderPage.php

+ 2 - 2
studio/template/scripts/BxBaseStudioBuilderPage.php

@@ -818,8 +818,8 @@ class BxBaseStudioBuilderPage extends BxDolStudioBuilderPage
 
         $aContentPlaceholders = $this->oDb->getContentPlaceholders();
         $aForm['inputs']['async']['values'][] = array('key' => 0, 'value' => _t('_sys_no_async'));
-        foreach ($aContentPlaceholders as $iId => $sTitle)
-            $aForm['inputs']['async']['values'][] = array('key' => $iId, 'value' => _t($sTitle));
+        foreach ($aContentPlaceholders as $iKey => $sTitle)
+            $aForm['inputs']['async']['values'][] = array('key' => $iKey, 'value' => _t($sTitle));
 
         $aSubmenus = $this->oDb->getBlockSubmenus();
         $aForm['inputs']['submenu']['values'][] = array('key' => '', 'value' => _t('_sys_no_menu'));