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

NICE-66844 Undefined variable $path #1

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

dmetzner
Copy link

@dmetzner dmetzner commented Aug 1, 2024

Summary

This PR initializes the $path variable to prevent an "undefined variable" warning when $source->exists is true.

Changes

  • Added $path = null; to ensure $path is always defined.

Impact

Fixes the warning Undefined variable $path in vendor/smarty/src/Resource/FilePlugin.php on line 62.

@dmetzner dmetzner changed the title Fix undefined $path variable warning NICE-66844 Undefined variable $path Aug 1, 2024
@dmetzner dmetzner merged commit 15f8905 into niceshops:master Aug 2, 2024
11 checks passed
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.

2 participants