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

_addModuleSettings: Check getShopConfVar() before getConfigParam() #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dx-bhesse
Copy link

Some third-party-modules (eg "dd_faq") only seem to extend getShopConfVar() but not getConfigParam(). Module Internals will not see a db-value in these cases and try to save the default-value, which will then override the actual value the module had stored somewhere.
(Module internals will always show "Fixed state" for such modules in the module list)

As workaround getShopConfVar() could be checked first and getConfigParam() can be called as fallback.

…fVar() but not getConfigParam(). Module Internals will not see a db-value in these cases and try to save the default-value, which will then override the actual value the module had stored somewhere.

(Module internals will always show "Fixed state" for such modules in the module list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant