Verified Commit ca42ba8c authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Fix remove the modify button on the archive transfer seda 2

parent 4c404d65
......@@ -799,7 +799,9 @@ class message
} elseif ($message->status == "toBeModified") {
$messageObject->rejectButton = "/transferRejection/".$messageId;
$messageObject->retryButton = "/medona/message/". $message->messageId . "/retry";
$messageObject->modifyButton = "/transferModify/". $message->messageId;
if ($message->schema === 'seda') {
$messageObject->modifyButton = "/transferModify/" . $message->messageId;
}
} elseif ($message->status == "accepted") {
$messageObject->processButton = "/transferProcess/".$messageId;
$messageObject->exportButton = "/medona/message/".$messageId."/Export";
......
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