Skip to content

Commit

Permalink
Merge pull request #102 from mapbender/fix/replaceDeprecatedQUeryBuil…
Browse files Browse the repository at this point in the history
…derParameterSetting

Fix/replace deprecated q uery builder parameter setting
  • Loading branch information
Phocacius authored Feb 8, 2024
2 parents cb1786a + 7910b4a commit e4cd1c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* Adjust display of refresh button ([PR#101](https://github.com/mapbender/mapbender-digitizer/pull/101))
* Allow popup.modal and popup.position ([PR#101](https://github.com/mapbender/mapbender-digitizer/pull/101))
* Allow zoomBuffer parameter ([PR#101](https://github.com/mapbender/mapbender-digitizer/pull/101))
* Replace deprecated 'userName' parameter setting in query builder by contemporary solution

## 1.5.7
* Rewrite context menu for Openlayers 7 compatibility
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected function addQueryFilters(QueryBuilder $queryBuilder, $includeDefaultFi
$queryBuilder->andWhere($params['where']);
}
if ($setUserParam) {
$queryBuilder->setParameter(':userName', $this->tokenStorage->getToken()->getUsername());
$queryBuilder->setParameter('userName', $this->tokenStorage->getToken()->getUsername());
}
}

Expand Down

0 comments on commit e4cd1c9

Please sign in to comment.