Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Learning and Work
managing-money-api
Commits
8a435e3d
Commit
8a435e3d
authored
Aug 20, 2018
by
Jack Stupple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whoops
parent
3d71cb9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Http/Controllers/Api/PlayerController.php
app/Http/Controllers/Api/PlayerController.php
+2
-2
No files found.
app/Http/Controllers/Api/PlayerController.php
View file @
8a435e3d
...
...
@@ -72,9 +72,9 @@ class PlayerController extends Controller
$previous_character
=
$player
->
character_id
;
$player
->
character_id
=
$request
->
input
(
'character_id'
,
$player
->
character_id
);
$previous_language
=
Language
::
where
(
'id'
,
$player
->
language_id
);
$previous_language
=
Language
::
where
(
'id'
,
$player
->
language_id
)
->
first
()
;
$player
->
language_id
=
$request
->
input
(
'language_id'
,
$player
->
language_id
);
$new_language
=
Language
::
where
(
'id'
,
$player
->
language_id
);
$new_language
=
Language
::
where
(
'id'
,
$player
->
language_id
)
->
first
()
;
$player
->
budget_intro_completed
=
$budget_intro_completed
;
$player
->
calendar_intro_completed
=
$calendar_intro_completed
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment