Merge branch 'master' into fix_category_view

This commit is contained in:
Tuan Pham Ngoc 2021-08-18 16:15:15 +07:00
commit 592c725f08
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class WeblinksModelCategories extends JModelList
*/
public function getItems()
{
if (is_null($this->_items) || !count($this->_items))
if ($this->_items === null)
{
$app = JFactory::getApplication();
$menu = $app->getMenu();

View File

@ -110,6 +110,6 @@ class ModWeblinksHelper
return $items;
}
return;
return array();
}
}