Skip to content

Commit

Permalink
Bugfix: Skip approval if groups var is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
eki89 committed Jan 5, 2023
1 parent 7c4590e commit 68c22f7
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 68c22f7

Please sign in to comment.