From 70cc8de26c9249d1817c977e523bd97fc7563106 Mon Sep 17 00:00:00 2001 From: Damien <damien.burel@maarch.org> Date: Fri, 20 Mar 2020 11:16:15 +0100 Subject: [PATCH] FEAT #12091 TIME 0:45 Fix default value initiator --- src/app/indexingModel/controllers/IndexingModelController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/indexingModel/controllers/IndexingModelController.php b/src/app/indexingModel/controllers/IndexingModelController.php index 1b68a9eeb77..ea0a5cb1521 100644 --- a/src/app/indexingModel/controllers/IndexingModelController.php +++ b/src/app/indexingModel/controllers/IndexingModelController.php @@ -243,6 +243,8 @@ class IndexingModelController $foundDoctype = true; } elseif ($field['identifier'] == 'subject') { $foundSubject = true; + } elseif ($field['identifier'] == 'initiator') { + unset($body['fields'][$key]['default_value']); } } -- GitLab