mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-14 08:30:37 +00:00
Better check
This commit is contained in:
parent
d765eabdf6
commit
40fec2bdfa
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user