Fix setGlasses in POST /games
This commit is contained in:
parent
0958cb9fe2
commit
cfee991542
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class ScoreControllerProvider implements ControllerProviderInterface
|
||||||
$hit->setScore($data_hit['score']);
|
$hit->setScore($data_hit['score']);
|
||||||
|
|
||||||
// attributes
|
// attributes
|
||||||
$hit->setGlasses($data_hit['glasses']);
|
$hit->getAttributes()->setGlasses($data_hit['glasses']);
|
||||||
foreach(Models\Hit::$ATTRIBUTES as $attribute) {
|
foreach(Models\Hit::$ATTRIBUTES as $attribute) {
|
||||||
$hit->getAttributes()->setAttribute($attribute, $data_hit[$attribute]);
|
$hit->getAttributes()->setAttribute($attribute, $data_hit[$attribute]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue