Fixed the formatting of PHP code

This commit is contained in:
Giulio Cesare Solaroli 2011-10-06 23:57:46 +01:00
parent a26b219b6f
commit 647a8a5391

View File

@ -375,13 +375,14 @@ error_log("message");
$user = $user->Get($_SESSION["userId"]); $user = $user->Get($_SESSION["userId"]);
$result["header"] = $user->header; $result["header"] = $user->header;
$records = $user->GetRecordList(); $records = $user->GetRecordList();
foreach ($records as $record) foreach ($records as $record) {
{
$recordStats["updateDate"] = $record->update_date; $recordStats["updateDate"] = $record->update_date;
$recordsStats[$record->reference] = $recordStats; $recordsStats[$record->reference] = $recordStats;
} }
$result["recordsStats"] = $recordsStats; $result["recordsStats"] = $recordsStats;
$result["statistics"] = $user->statistics; $result["statistics"] = $user->statistics;
$result["version"] = $user->version; $result["version"] = $user->version;