mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-09-29 05:29:07 +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()
|
public function getItems()
|
||||||
{
|
{
|
||||||
if (is_null($this->_items) || !count($this->_items))
|
if ($this->_items === null)
|
||||||
{
|
{
|
||||||
$app = JFactory::getApplication();
|
$app = JFactory::getApplication();
|
||||||
$menu = $app->getMenu();
|
$menu = $app->getMenu();
|
||||||
|
@ -110,6 +110,6 @@ class ModWeblinksHelper
|
|||||||
return $items;
|
return $items;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user