Loading module/Oscar/src/Oscar/Utils/PCRUCvsFile.php +2 −1 Original line number Diff line number Diff line Loading @@ -184,11 +184,12 @@ class PCRUCvsFile */ public function writeContratsCsv($dest = null) { $headers = $this->getHeaders(); if ($dest == null) { $dest = $this->pcruService->getOscarConfigurationService()->getPcruContratFile(); } $handler = fopen($dest, 'w'); fputcsv($handler, $this->getHeaders(), ';'); fputcsv($handler, array_keys($this->getHeaders()), ';'); foreach ($this->getData() as $data) { fputcsv($handler, $data, ';'); } Loading Loading
module/Oscar/src/Oscar/Utils/PCRUCvsFile.php +2 −1 Original line number Diff line number Diff line Loading @@ -184,11 +184,12 @@ class PCRUCvsFile */ public function writeContratsCsv($dest = null) { $headers = $this->getHeaders(); if ($dest == null) { $dest = $this->pcruService->getOscarConfigurationService()->getPcruContratFile(); } $handler = fopen($dest, 'w'); fputcsv($handler, $this->getHeaders(), ';'); fputcsv($handler, array_keys($this->getHeaders()), ';'); foreach ($this->getData() as $data) { fputcsv($handler, $data, ';'); } Loading