diff --git a/modules/autoinstall/tpl/list.html b/modules/autoinstall/tpl/list.html index 7d1ce5a99..d440095e9 100644 --- a/modules/autoinstall/tpl/list.html +++ b/modules/autoinstall/tpl/list.html @@ -16,11 +16,11 @@ {@$_popular_order_type = 'desc'} - {$lang->order_newest} {$_newest_order_type} + {$lang->order_newest} {$_newest_order_type} | - {$lang->order_download} {$_download_order_type} + {$lang->order_download} {$_download_order_type} | - {$lang->order_popular} {$_popular_order_type} + {$lang->order_popular} {$_popular_order_type} diff --git a/modules/editor/editor.admin.view.php b/modules/editor/editor.admin.view.php index 7eb6dcecd..fe08af026 100644 --- a/modules/editor/editor.admin.view.php +++ b/modules/editor/editor.admin.view.php @@ -58,7 +58,7 @@ class editorAdminView extends editor // Get editor component info $oAutoinstallModel = getModel('autoinstall'); $component_list = $oEditorModel->getComponentList(false, 0, true); - $component_count = count($component_list); + $component_count = countobj($component_list); $targetpackages = array(); foreach ($component_list as $xml_info) { diff --git a/modules/point/tpl/config.html b/modules/point/tpl/config.html index 27b7b810e..428901a9d 100644 --- a/modules/point/tpl/config.html +++ b/modules/point/tpl/config.html @@ -176,7 +176,7 @@
-{@$point_group = @array_flip($config->point_group)} + {@$point_group = @array_flip($config->point_group ?? [])}

{$lang->level_point}

{$lang->expression}