root %!s(int64=3) %!d(string=hai) anos
pai
achega
ea287451ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);