diff --git a/application/controllers/jobs/OrganigrammTest.php b/application/controllers/jobs/OrganigrammTest.php index 2e82c7d32..d26b42e28 100644 --- a/application/controllers/jobs/OrganigrammTest.php +++ b/application/controllers/jobs/OrganigrammTest.php @@ -180,6 +180,10 @@ FOOTER; 'max' => $this->xoffsetperlevel[$level]->max + $width + $spacing ); } + else + { + $this->xoffsetperlevel[$nextlevel]->max = ($this->xoffsetperlevel[$level]->max + $width + $spacing); + } } if( count($oe->childs) > 0 && count($oe->childs) === $ownchildcount )