Skip to content

Commit

Permalink
Fixed parent call of getAllEvents and added missing $blnFeatured para…
Browse files Browse the repository at this point in the history
…meter
  • Loading branch information
hschottm committed Feb 2, 2023
1 parent d9e1700 commit 6301b7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/ModuleCalendarTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ModuleCalendarTags extends \ModuleCalendar
*/
protected function getAllEvents($arrCalendars, $intStart, $intEnd, $blnFeatured = null)
{
$arrAllEvents = parent::getAllEvents($arrCalendars, $intStart, $intEnd);
$arrAllEvents = parent::getAllEvents($arrCalendars, $intStart, $intEnd, $blnFeatured);
if (($this->tag_ignore) && !strlen($this->tag_filter)) return $arrAllEvents;
if (strlen(\TagHelper::decode(\Input::get('tag'))) || strlen($this->tag_filter))
{
Expand Down
2 changes: 1 addition & 1 deletion modules/ModuleEventlistTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ModuleEventlistTags extends \ModuleEventlist
*/
protected function getAllEvents($arrCalendars, $intStart, $intEnd, $blnFeatured = null)
{
$arrAllEvents = parent::getAllEvents($arrCalendars, $intStart, $intEnd);
$arrAllEvents = parent::getAllEvents($arrCalendars, $intStart, $intEnd, $blnFeatured);
if (($this->tag_ignore) && !strlen($this->tag_filter)) return $arrAllEvents;

if (strlen(\TagHelper::decode(\Input::get('tag'))) || strlen($this->tag_filter))
Expand Down
2 changes: 1 addition & 1 deletion modules/ModuleLastEventsTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ModuleLastEventsTags extends \ModuleLastEvents
*/
protected function getAllEvents($arrCalendars, $intStart, $intEnd, $blnFeatured = null)
{
$arrAllEvents = parent::getAllEvents($arrCalendars, $intStart, $intEnd);
$arrAllEvents = parent::getAllEvents($arrCalendars, $intStart, $intEnd, $blnFeatured);
if (strlen(\TagHelper::decode(\Input::get('tag'))))
{
$limit = null;
Expand Down

0 comments on commit 6301b7e

Please sign in to comment.