Skip to content

Commit

Permalink
CSV import cron, Add utf8_encode to the article post see BT#12723
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Jun 14, 2019
1 parent 90234ad commit 7c289a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/cron/import_csv.php
Expand Up @@ -376,7 +376,7 @@ public function importCare($file, $moveFile = false)
$this->logger->addInfo("New post will be created no match for externalCareId = ".$row['External_care_id']);
}

$contentDecoded = base64_decode($row['Article']);
$contentDecoded = utf8_encode(base64_decode($row['Article']));

$post
->setTitle($row['Title'])
Expand Down

0 comments on commit 7c289a2

Please sign in to comment.