How can I update a record in Laravel, to its same value as before.
Have tried the following, but it didn't work, and I wouldn't want to do another query to get the value and set it.
$user = User::update($edit['id'], array(
'name' => $edit['username'],
'email' => $edit['email'],
'password' => (is_null($edit['password']) ? '`password`' : Hash::make($edit['password'])),
));
Any ideas?