From ec813683ab320e843b8a820a93ca016979e214f3 Mon Sep 17 00:00:00 2001 From: Max Stephan Date: Wed, 15 Mar 2017 17:17:22 +0100 Subject: [PATCH] check "canModify" also in simulation mode --- .../Businessprocess/Web/Component/RenderedProcessActionBar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Web/Component/RenderedProcessActionBar.php b/library/Businessprocess/Web/Component/RenderedProcessActionBar.php index 5f3cdf3..e7f1d2b 100644 --- a/library/Businessprocess/Web/Component/RenderedProcessActionBar.php +++ b/library/Businessprocess/Web/Component/RenderedProcessActionBar.php @@ -83,7 +83,7 @@ class RenderedProcessActionBar extends ActionBar } if ($renderer->wantsRootNodes() && ( - $hasChanges || (! $renderer->isLocked()) && $meta->canModify() + ($hasChanges || (! $renderer->isLocked())) && $meta->canModify() )) { $this->add( Link::create(