mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-11-11 07:41:04 +00:00
parent
5ad08ed6e0
commit
0f422905ce
@ -92,7 +92,7 @@ class WeblinksModelCategories extends JModelList
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
if (!count($this->_items))
|
||||
if (is_null($this->_items) || !count($this->_items))
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
$menu = $app->getMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user