From deaa8ea02f6b62d641099bc3d168367f5292444e Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Mon, 26 Jan 2015 02:09:04 +0000 Subject: [PATCH] Adds new logic to handle 1-only real depost. 1). If 1 real deposit exists, and next real deposit hasn't been deposited. --- json/transaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/transaction.php b/json/transaction.php index 32541c3..5d4b35f 100644 --- a/json/transaction.php +++ b/json/transaction.php @@ -97,7 +97,7 @@ $change_fund = CHANGE_FUND; } // this is the first real deposit - if ($slider_range && !$slider_range[1]["transaction_id"]) { + if ( ($slider_range && !$slider_range[1]["transaction_id"]) || ($slider_range && $slider_range[1]["deposited"] == "no") ) { $fake_trans_id = $slider_range[0]["transaction_id"] - 1; $real_trans = $slider_range[0]; $year = date("Y");