Add decryption routine.

This commit is contained in:
James Cole
2015-03-31 21:18:22 +02:00
parent cf23858c10
commit 566fadad15
5 changed files with 43 additions and 13 deletions

View File

@@ -100,11 +100,13 @@ class Steam
if (isset($array[$id])) {
$array[$id]['amount'] += floatval($entry->amount);
$array[$id]['spent'] += floatval($entry->spent);
$array[$id]['encrypted'] = intval($entry->encrypted);
} else {
$array[$id] = [
'amount' => floatval($entry->amount),
'spent' => floatval($entry->spent),
'name' => $entry->name
'amount' => floatval($entry->amount),
'spent' => floatval($entry->spent),
'encrypted' => intval($entry->encrypted),
'name' => $entry->name
];
}
}