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

Allow Zero as valid value for ImportExport Selection value #2797

Closed
stefanhaerter opened this issue Jan 5, 2024 · 1 comment
Closed

Allow Zero as valid value for ImportExport Selection value #2797

stefanhaerter opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@stefanhaerter
Copy link
Contributor

The effect occurs e.g. when selecting 'No' for the attribute 'Include column headers' in the module AdminImportExport. 'No' is mapped to '0', which is correctly stored. But when building the selection from the stored data, the following line overwrites '0' with the default value for the attribute:

$Param{Value} ||= $Param{Item}->{Input}->{ValueDefault};

@stefanhaerter
Copy link
Contributor Author

Closed with merging #2798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant