mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-02-05 10:48:26 +00:00
parent
5ad08ed6e0
commit
dffe7c53c3
@ -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…
x
Reference in New Issue
Block a user