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

[-] BO: fix $module_name not defined in import module #5144

Merged
merged 1 commit into from Mar 8, 2016

Conversation

prestamodule
Copy link
Contributor

Description

When you upload a new module, if you have an error during the process, you reach the catch() of the importModuleAction() method.

If the error occurs before set the $module_name var, you will have an error here.

Steps to Test this Fix

  1. Go to module manager
  2. Upload a module.
    • Pray to have an error before the $module_name is set and see the error.
  3. Apply this commit.
  4. See that error doesn't occurs anymore.

tchauviere added a commit that referenced this pull request Mar 8, 2016
[-] BO: fix $module_name not defined in import module
@tchauviere tchauviere merged commit dc54666 into PrestaShop:develop Mar 8, 2016
@tchauviere
Copy link
Contributor

Hi @prestamodule,

Thanks for your fix, and nice catch, if I can say so ;)

Your PR is now merged :)

Best regards,

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.

None yet

3 participants