root 3 лет назад
Родитель
Сommit
ea287451ce
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      common/helpers/bonus/PreparePerfCalc.php

+ 1 - 1
common/helpers/bonus/PreparePerfCalc.php

@@ -951,7 +951,7 @@ class PreparePerfCalc {
         if (!$this->_isCalcMonth) {
             return true;
         }
-        var_export('aatxt.txt',var_export([
+        file_put_contents('aatxt.txt',var_export([
             'offset' => $offset,
             'CALC_MONTH' => $this->_calcYearMonth
         ],true), FILE_APPEND);