wip
This commit is contained in:
1 parent
6ad6ff23a9
commit
3e5bf32251
2 files changed
+2
-2
No files matched your search
@@ -349,7 +349,7 @@ class PlayerPropsDrop extends Widget
|
||||
|
||||
$count_player = 0;
|
||||
foreach ($player_totals as $key => $value) {
|
||||
if (isset($value->details) && $value->details->position != 'GK' && (int) $value->details->is_active != 0) {
|
||||
if ($value->details != null && $value->details->position != 'GK' && (int) $value->details->is_active != 0) {
|
||||
$count_player++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ class PlayerCalculator extends Component
|
||||
|
||||
$result = [];
|
||||
foreach ($player as $val) {
|
||||
if ($val->details && $val->details->is_active) {
|
||||
if ($val->details != null && $val->details->is_active) {
|
||||
|
||||
$tmp = [];
|
||||
$tmp['id'] = $val->ss_player_id;
|
||||
|
||||
Reference in new issue
Block a user