Fixed new login with empty records
This commit is contained in:
parent
a2a216f9c9
commit
083a6a5cea
@ -409,7 +409,11 @@ error_log("message");
|
||||
$recordStats["updateDate"] = $record->update_date;
|
||||
$recordsStats[$record->reference] = $recordStats;
|
||||
}
|
||||
if ( isset( $recordsStats ) ) {
|
||||
$result["recordsStats"] = $recordsStats;
|
||||
} else {
|
||||
$result["recordsStats"] = NULL;
|
||||
}
|
||||
|
||||
$result["statistics"] = $user->statistics;
|
||||
$result["version"] = $user->version;
|
||||
|
Loading…
Reference in New Issue
Block a user