rabin 1 год назад
Родитель
Сommit
295adcf8e7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Profit.php

+ 1 - 1
src/Profit.php

@@ -13,7 +13,7 @@ class Profit extends Core
         	foreach ($data['list'] as $k => $v) {
         		$profit = Dever::db('account/profit')->one(array('uid' => $this->uid, 'config_profit_id' => $v['id']));
         		if ($profit) {
-        			$data['total'] += $profit['cash'];
+        			$data['total'] += $profit['ycash'];
         		}
         	}
         }