Better check
This commit is contained in:
parent
d765eabdf6
commit
40fec2bdfa
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue