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

[Contao 4] First Value no array in Member Callback.php > limitCountries (array_intersect_key) #1803

Closed
rabauss opened this issue Jun 2, 2017 · 1 comment
Labels
Milestone

Comments

@rabauss
Copy link

rabauss commented Jun 2, 2017

In contao 4 the DCA of tl_member is a little bit different, so the following options key in the dca array cannot be found:
$GLOBALS['TL_DCA']['tl_member']['fields']['country']['options']
The new key is obviously ['options_callback'].

We have disabled limitMemberCountries, so the callback wont be called. But otherwise you get warnings because of the missing options...

@rabauss rabauss changed the title [Contao 4] Bug in Member Callback.php > limitCountries [Contao 4] First Value no array in Member Callback.php > limitCountries (array_intersect_key) Jun 2, 2017
@aschempp aschempp added the bug label Jun 2, 2017
@aschempp aschempp added this to the 2.4.2 milestone Jun 2, 2017
@aschempp
Copy link
Member

Fixed in f7ded78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants