From 269429746640333fc57260b34708c62f15432c7e Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 27 Mar 2015 19:48:55 +0100 Subject: [PATCH] Fixed a bug where start / end would be used incorrectly. --- app/Http/Controllers/AccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php index a56e6b08e4..85d21bca32 100644 --- a/app/Http/Controllers/AccountController.php +++ b/app/Http/Controllers/AccountController.php @@ -144,7 +144,7 @@ class AccountController extends Controller $account->lastActivityDate = null; } $account->startBalance = Steam::balance($account, $start); - $account->endBalance = Steam::balance($account, Session::get('end')); + $account->endBalance = Steam::balance($account, clone Session::get('end')); } );