mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-10-31 19:02:30 +00:00
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
Block a user