summaryrefslogtreecommitdiff
path: root/backend/php/src/index.php
Unidiff
Diffstat (limited to 'backend/php/src/index.php') (more/less context) (ignore whitespace changes)
-rw-r--r--backend/php/src/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/php/src/index.php b/backend/php/src/index.php
index 3d23e7a..214ac01 100644
--- a/backend/php/src/index.php
+++ b/backend/php/src/index.php
@@ -375,13 +375,14 @@ error_log("message");
375 $user = $user->Get($_SESSION["userId"]); 375 $user = $user->Get($_SESSION["userId"]);
376 376
377 $result["header"] = $user->header; 377 $result["header"] = $user->header;
378
378 $records = $user->GetRecordList(); 379 $records = $user->GetRecordList();
379 foreach ($records as $record) 380 foreach ($records as $record) {
380 {
381 $recordStats["updateDate"] = $record->update_date; 381 $recordStats["updateDate"] = $record->update_date;
382 $recordsStats[$record->reference] = $recordStats; 382 $recordsStats[$record->reference] = $recordStats;
383 } 383 }
384 $result["recordsStats"] = $recordsStats; 384 $result["recordsStats"] = $recordsStats;
385
385 $result["statistics"] =$user->statistics; 386 $result["statistics"] =$user->statistics;
386 $result["version"] =$user->version; 387 $result["version"] =$user->version;
387 388