Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in MapView format #517

Merged
merged 2 commits into from
Jul 29, 2019
Merged

Fix bug in MapView format #517

merged 2 commits into from
Jul 29, 2019

Conversation

JeroenDeDauw
Copy link
Member

This check was still using the old class name which got removed some time ago. Hence this code was broken on modern PHP versions.

Removed the check altogether in second commit since there is no need for it.

Copy link
Contributor

@s7eph4n s7eph4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this! 👍

@@ -78,11 +77,6 @@ public function getJsDataForRow( ResultItem $row ) {
}
}

} else {
$this->getQueryPrinter()->addError(
Message::newFromKey( 'srf-filtered-map-geocoordinateparser-missing-error' )->inContentLanguage(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the only place where this message is used, so it can be removed from the i18n files.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeroenDeDauw JeroenDeDauw merged commit 65ec9a2 into master Jul 29, 2019
@JeroenDeDauw JeroenDeDauw deleted the MapView branch July 29, 2019 18:58
@kghbln kghbln added this to the 3.1.0 milestone Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants