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

Added check for the existence of extension info #147

Merged
merged 1 commit into from
Feb 13, 2013
Merged

Added check for the existence of extension info #147

merged 1 commit into from
Feb 13, 2013

Conversation

thanosp
Copy link
Contributor

@thanosp thanosp commented Feb 13, 2013

Fixes a notice issue occurring when passing a filename with no extension:

Notice: Undefined index: extension in vendor/liip/imagine-bundle/Liip/ImagineBundle/Imagine/Data/Loader/FileSystemLoader.php line 69

@havvg
Copy link
Contributor

havvg commented Feb 13, 2013

…dability.

Added test for missing extension information
@thanosp
Copy link
Contributor Author

thanosp commented Feb 13, 2013

Added test. Nothing sophisticated, just one that would have failed before this patch.

havvg added a commit that referenced this pull request Feb 13, 2013
Added check for the existence of extension info
@havvg havvg merged commit d82f4e5 into liip:master Feb 13, 2013
@havvg
Copy link
Contributor

havvg commented Feb 13, 2013

Those tests are the best, if the fail without and pass with the patch provided :-)

Thank you!

@thanosp thanosp deleted the fix-missing-extension-notice branch February 13, 2013 10:39
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