Skip to content

Commit

Permalink
Merge pull request #194 from contao-estatemanager/bugfix/filtersession
Browse files Browse the repository at this point in the history
Bugfix - Skip approval if groups var is not null
  • Loading branch information
zoglo authored Jan 25, 2023
2 parents 082699d + 68c22f7 commit 084e4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/classes/FilterSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public function getTypeParameterByGroups($arrGroups, $mode, $addFragments=true,

$arrTypeColumns = array();

if(\count($arrGroups))
if(($arrGroups ?? null) && \count($arrGroups))
{
$objRealEstateTypes = RealEstateTypeModel::findPublishedByPids($arrGroups);

Expand Down

0 comments on commit 084e4a1

Please sign in to comment.