Support the ongoing development of Laravel.io →
Input Forms
Last updated 2 years ago.
0

move $user->photo = Input::get('photo'); into if (Input::hasFile('photo')) condition block.

Oh well..you already have that. Just remove $user->photo = Input::get('photo');

Am I missing something...?

Last updated 2 years ago.
0

Ohhhh...got it. Removed $user->photo = Input::get('photo'); and it works as it should.

Thanks, I knew it was something obvious I was missing!

Last updated 2 years ago.
0

i know that feeling! :) happens all the time.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.