mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 19:09:03 +01:00
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;
|
$recordStats["updateDate"] = $record->update_date;
|
||||||
$recordsStats[$record->reference] = $recordStats;
|
$recordsStats[$record->reference] = $recordStats;
|
||||||
}
|
}
|
||||||
$result["recordsStats"] = $recordsStats;
|
if ( isset( $recordsStats ) ) {
|
||||||
|
$result["recordsStats"] = $recordsStats;
|
||||||
|
} else {
|
||||||
|
$result["recordsStats"] = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
$result["statistics"] = $user->statistics;
|
$result["statistics"] = $user->statistics;
|
||||||
$result["version"] = $user->version;
|
$result["version"] = $user->version;
|
||||||
|
Loading…
Reference in New Issue
Block a user