From 1f9c9b7c55dc7eaa20ede807239dc50d2f87bfff Mon Sep 17 00:00:00 2001 From: Michael Boesherz Date: Thu, 22 Feb 2024 14:11:16 +0100 Subject: [PATCH] fix typo --- src/Resources/contao/models/TagsRelModel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/contao/models/TagsRelModel.php b/src/Resources/contao/models/TagsRelModel.php index f6aea58..06919cc 100644 --- a/src/Resources/contao/models/TagsRelModel.php +++ b/src/Resources/contao/models/TagsRelModel.php @@ -91,7 +91,7 @@ public static function findPublishedRelatedNewsByID( $id, $aPids, $blnFeatured=n if( !static::isPreviewMode($aOptions) ) { $time = Date::floorToMinute(); - $arrColumns[] = "$t.published='1' AND ($t.start='' OR $t.start<=$time) AND ($t.stop='' OR $t.stop>$time)"; + $aColumns[] = "$t.published='1' AND ($t.start='' OR $t.start<=$time) AND ($t.stop='' OR $t.stop>$time)"; } if( !isset($aOptions['order']) ) { @@ -179,7 +179,7 @@ public static function findPublishedNewsByTags( $tagsIds, $aPids, $blnFeatured=n if( !static::isPreviewMode($aOptions) ) { $time = Date::floorToMinute(); - $arrColumns[] = "$t.published='1' AND ($t.start='' OR $t.start<=$time) AND ($t.stop='' OR $t.stop>$time)"; + $aColumns[] = "$t.published='1' AND ($t.start='' OR $t.start<=$time) AND ($t.stop='' OR $t.stop>$time)"; } if( !isset($aOptions['order']) ) {