From a4c932ab6c17df73a8539db78d9a8b7eb912b4fe Mon Sep 17 00:00:00 2001 From: jygaulier Date: Wed, 8 Sep 2021 17:27:40 +0200 Subject: [PATCH] Update ExportMailWorker.php remove bad "assert"s --- lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php b/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php index 60cd332880..ba20890e89 100644 --- a/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php +++ b/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php @@ -87,9 +87,7 @@ class ExportMailWorker implements WorkerInterface // we must stamp this document try { $record = $this->app->getApplicationBox()->get_databox($v_file['databox_id'])->get_record($v_file['record_id']); - assert(!is_object($record)); $sd = $record->get_subdef($k_subdef); - assert(!is_object($sd)); if(!is_null($path = \recordutils_image::stamp($this->app, $sd))) { // stamped ! $pi = pathinfo($path);