mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-09-28 04:59:04 +00:00
Merge branch 'master' into fix_category_view
This commit is contained in:
commit
592c725f08
@ -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();
|
||||
|
@ -110,6 +110,6 @@ class ModWeblinksHelper
|
||||
return $items;
|
||||
}
|
||||
|
||||
return;
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user