From 668f6abf780533ee2472f51fd98249cdd3e3ba29 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 16 Oct 2013 12:00:29 +0200 Subject: [PATCH] [FIX] Method argument order fixed --- public/include/smarty_globals.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/smarty_globals.inc.php b/public/include/smarty_globals.inc.php index 8323a2fa..8beb33b0 100644 --- a/public/include/smarty_globals.inc.php +++ b/public/include/smarty_globals.inc.php @@ -128,7 +128,7 @@ if (@$_SESSION['USERDATA']['id']) { switch ($config['payout_system']) { case 'prop' || 'pplns': // Some estimations - $aEstimates = $statistics->getUserEstimates($aRoundShares, $aGlobal['userdata']['shares'], $aGlobal['userdata']['no_fees'], $aGlobal['userdata']['donate_percent']); + $aEstimates = $statistics->getUserEstimates($aRoundShares, $aGlobal['userdata']['shares'], $aGlobal['userdata']['donate_percent'], $aGlobal['userdata']['no_fees']); $aGlobal['userdata']['est_block'] = $aEstimates['block']; $aGlobal['userdata']['est_fee'] = $aEstimates['fee']; $aGlobal['userdata']['est_donation'] = $aEstimates['donation'];