Commit 10998f3
committed
Fix error if Steam returns empty response
Querying the API for a Steam user who hastheir gameplay history private returns:
`"response": {}`
which results in the error:
`Undefined property: stdClass::$total_count in Player.php on line 120`1 parent 98c2f37 commit 10998f3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments