Skip to content

Commit

Permalink
Make sure items is an array. (#20000)
Browse files Browse the repository at this point in the history
* Make sure items is an array.

Resolved #19998

* Update default_items.php

* Update tag.php

* Update tag.php

* Update tag.php

* Update tag.php
  • Loading branch information
tonypartridge authored and Michael Babker committed Mar 29, 2018
1 parent da10da8 commit 9b0ad04
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/com_tags/models/tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,9 @@ public function getItems()
break;
}
}

return $items;
}
else
{
return false;
}

return $items;
}

/**
Expand Down

0 comments on commit 9b0ad04

Please sign in to comment.