Skip to content
Snippets Groups Projects
Verified Commit 26f3a35f authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12346 TIME 0:15 multiple errors in preprocess action

parent 8d7dc6d6
No related branches found
No related tags found
No related merge requests found
......@@ -1151,6 +1151,7 @@ class PreProcessActionController
$today = new \DateTime('today');
if ($opinionLimitDate < $today) {
$resourcesInformation['error'][] = ['alt_identifier' => $resource['alt_identifier'], 'res_id' => $resource['res_id'], 'reason' => 'opinionLimitDateOutdated'];
continue;
}
$opinionNote = NoteModel::get([
......@@ -1211,6 +1212,7 @@ class PreProcessActionController
$today = new \DateTime('today');
if ($opinionLimitDate < $today) {
$resourcesInformation['error'][] = ['alt_identifier' => $resource['alt_identifier'], 'res_id' => $resId, 'reason' => 'opinionLimitDateOutdated'];
continue;
}
$opinionNote = NoteModel::get([
......@@ -1277,6 +1279,7 @@ class PreProcessActionController
$today = new \DateTime('today');
if ($opinionLimitDate < $today) {
$resourcesInformation['error'][] = ['alt_identifier' => $resource['alt_identifier'], 'res_id' => $resId, 'reason' => 'opinionLimitDateOutdated'];
continue;
}
$opinionNote = NoteModel::get([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment