mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-24 16:49:34 -05:00
NodeMoveAction: Properly check display values
This commit is contained in:
parent
0d0ac5381e
commit
ec14a7dbe1
1 changed files with 2 additions and 2 deletions
|
|
@ -94,8 +94,8 @@ class NodeMoveAction extends NodeAction
|
|||
$this->error('Toplevel process "%s" not found', $name);
|
||||
}
|
||||
|
||||
if ($config->getBpNode($name)->getDisplay() !== $this->from) {
|
||||
$this->error('Toplevel process "%s" not found at position %d', $name, $this->from);
|
||||
if ($config->getBpNode($name)->getDisplay() !== $this->from + 1) {
|
||||
$this->error('Toplevel process "%s" not found at position %d', $name, $this->from + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue