Skip to content

Commit

Permalink
Fix server crash (unreported)
Browse files Browse the repository at this point in the history
Followup #47029
  • Loading branch information
elpaso committed Feb 9, 2022
1 parent 2db7926 commit 47d047e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverparameters.cpp
Expand Up @@ -197,7 +197,7 @@ QStringList QgsServerParameterDefinition::toExpressionList() const
}
}

if ( filter.back() == ';' )
if ( ! filter.isEmpty() && filter.back() == ';' )
{
filters.append( QString() );
}
Expand Down

0 comments on commit 47d047e

Please sign in to comment.