Skip to content

File upload is broken in Laravel 5 when submitting a form without... #12483

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

Closed
wants to merge 1 commit into from
Closed

Conversation

jonathanpmartins
Copy link

...selecting a file!

My tests revealed that with this tweek the problem described at this issue are resolved: laravel/framework#6189

I don't make unit tests, but this will no more break my code flow.

I'm not sure if this is the real deal!

…ecting a file

My tests revealed that with this tweek the problem described at this issue are resolved: laravel/framework#6189

I don't make unit tests, but this will no more break my code flow.
@jonathanpmartins
Copy link
Author

This is my first pull request to Symfony, could someone help me?

@ghost
Copy link

ghost commented Nov 15, 2014

well generally PRs aren't accepted without tests if tests are really required.

@ghost
Copy link

ghost commented Nov 15, 2014

@jonathanpmartins : also you do need to follow the instructions in this file. https://github.com/symfony/symfony/blob/master/CONTRIBUTING.md

@jonathanpmartins
Copy link
Author

Thank you for your attention! Reading the Contributing.md file...

@@ -94,7 +94,7 @@ protected function convertFileInformation($file)

if ($keys == self::$fileKeys) {
if (UPLOAD_ERR_NO_FILE == $file['error']) {
$file = null;
$file = [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still using array() syntax

@jonathanpmartins
Copy link
Author

New pull request open. #12486

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