Skip to content

Conversation

@teddy-mere
Copy link

Summary of Changes

Moved $_FILES['image'] test to fix the 500 error

ValueError:
Path cannot be empty

  at modules/everpsquotation/everpsquotation.php:746

Testing Instructions

  1. Install pseverquotation module
  2. Go to module's configuration
  3. Made some changes (do not touch to the image/logo file input, let it empty)
  4. Save

Actual result BEFORE applying this Pull Request

ValueError:
Path cannot be empty

  at modules/everpsquotation/everpsquotation.php:746

Expected result AFTER applying this Pull Request

Configuration saved successfully

Tested on

Prestashop 8.2.3
PHP 8.2.29

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