Skip to content

Commit

Permalink
Merge pull request #31 from CodeForCharlotte/hotfix/fix-add-user
Browse files Browse the repository at this point in the history
Fix add user
  • Loading branch information
AndrewNatoli authored Oct 26, 2016
2 parents 947f517 + ea52259 commit 7686766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Forms/Admin/UsersForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function buildForm()
'choices' => $roles,
'multiple' => false,
'label' => 'Access Level',
'selected' => $this->model->roles[0]->id
'selected' => ($this->model) ? $this->model->roles[0]->id : null
])

->add('nomination_limit', 'text', [
Expand Down

0 comments on commit 7686766

Please sign in to comment.