From dc69522ae5e31b56e6b235731998a6c84724c326 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 1 Mar 2019 08:20:48 +0100 Subject: [PATCH] ProcessForm: Properly populate element `display` --- application/forms/ProcessForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/ProcessForm.php b/application/forms/ProcessForm.php index bf233e4..4cc3bcf 100644 --- a/application/forms/ProcessForm.php +++ b/application/forms/ProcessForm.php @@ -84,7 +84,6 @@ class ProcessForm extends QuickForm 'description' => $this->translate( 'Where to show this process' ), - 'value' => $display, 'multiOptions' => array( "$display" => $this->translate('Toplevel Process'), '0' => $this->translate('Subprocess only'), @@ -103,6 +102,7 @@ class ProcessForm extends QuickForm $this->getElement('alias')->setValue($node->getAlias()); } $this->getElement('operator')->setValue($node->getOperator()); + $this->getElement('display')->setValue($node->getDisplay()); if ($node->hasInfoUrl()) { $this->getElement('url')->setValue($node->getInfoUrl()); }