Commit 2cc64b13 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Merge branch 'hotfix/2.2.4' into 'Support/2.2.X'

Fix check integrity journal

See merge request !231
parents b7c918c5 f9efaab8
......@@ -787,7 +787,7 @@ class journal
$nextJournalResource = $archiveController->getDigitalResources($nextJournal->archiveId)[0];
$nextJournalContents = $nextJournalResource->getContents();
$chainEvent = explode(',', strtok($nextJournalContents, "\n"));
$chainEvent = str_getcsv(strtok($nextJournalContents, "\n"));
// For older version compatibility
if (count($chainEvent) < 7) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment