Fix #1485 misc errors in PHP 8.0

This commit is contained in:
Kijin Sung 2020-12-14 22:38:47 +09:00
parent 74b612715c
commit 9a0bf6d907
3 changed files with 5 additions and 5 deletions

View file

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