Skip to content

don't get $user twice; some code cleanup#1577

Open
wadealer wants to merge 1 commit intobenedmunds:3from
wadealer:fix
Open

don't get $user twice; some code cleanup#1577
wadealer wants to merge 1 commit intobenedmunds:3from
wadealer:fix

Conversation

@wadealer
Copy link
Copy Markdown
Contributor

Removed some extra spaces.
$user = $this->user($id)->row(); was called twice at update method.

if( ! empty($data['password']))
{
$user = $this->user($id)->row();
// $user = $this->user($id)->row();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Did you intend to remove one of these and then comment out the other?

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