Browse Source

Adds new logic to handle 1-only real depost.

1).  If 1 real deposit exists, and next real deposit hasn't been
     deposited.
devel
Jonathan Rosenbaum 10 years ago
parent
commit
deaa8ea02f
  1. 2
      json/transaction.php

2
json/transaction.php

@ -97,7 +97,7 @@ $change_fund = CHANGE_FUND;
} }
// this is the first real deposit // 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; $fake_trans_id = $slider_range[0]["transaction_id"] - 1;
$real_trans = $slider_range[0]; $real_trans = $slider_range[0];
$year = date("Y"); $year = date("Y");

Loading…
Cancel
Save