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...?
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!
i know that feeling! :) happens all the time.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community