mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-05 21:29:33 -05:00
ProcessController: Properly handle spaces in node names
This commit is contained in:
parent
763ac872d3
commit
71fb738016
1 changed files with 4 additions and 8 deletions
|
|
@ -316,10 +316,8 @@ class ProcessController extends Controller
|
|||
))->add(Html::tag(
|
||||
'a',
|
||||
[
|
||||
'href' => Url::fromPath(
|
||||
'businessprocess/process/config',
|
||||
$this->getRequest()->getUrl()->getParams()->toArray(false)
|
||||
)
|
||||
'href' => Url::fromPath('businessprocess/process/config')
|
||||
->setParams($this->getRequest()->getUrl()->getParams())
|
||||
],
|
||||
$this->translate('Store')
|
||||
))->add(Html::tag(
|
||||
|
|
@ -427,10 +425,8 @@ class ProcessController extends Controller
|
|||
->add(Html::tag('h1', null, $title))
|
||||
->add($this->createConfigActionBar($bp));
|
||||
|
||||
$url = Url::fromPath(
|
||||
'businessprocess/process/show',
|
||||
$this->getRequest()->getUrl()->getParams()->toArray(false)
|
||||
);
|
||||
$url = Url::fromPath('businessprocess/process/show')
|
||||
->setParams($this->getRequest()->getUrl()->getParams());
|
||||
$this->content()->add(
|
||||
$this->loadForm('bpConfig')
|
||||
->setProcessConfig($bp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue