diff options
author | Christian Klinger | 2016-09-12 12:07:31 +0200 |
---|---|---|
committer | Christian Klinger | 2016-09-12 12:07:31 +0200 |
commit | c68bce362e674376501fae327fa476c3cef0b4af (patch) | |
tree | 81a25d50b9ea392e94553034e8b4705986e569dd /modules-available/roomplanner/inc/pvsgenerator.inc.php | |
parent | use the new pvs.ini format (using md5 right now). (diff) | |
download | slx-admin-c68bce362e674376501fae327fa476c3cef0b4af.tar.gz slx-admin-c68bce362e674376501fae327fa476c3cef0b4af.tar.xz slx-admin-c68bce362e674376501fae327fa476c3cef0b4af.zip |
skip rooms without manager ip because that trips pvsmgr.
Diffstat (limited to 'modules-available/roomplanner/inc/pvsgenerator.inc.php')
-rw-r--r-- | modules-available/roomplanner/inc/pvsgenerator.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/roomplanner/inc/pvsgenerator.inc.php b/modules-available/roomplanner/inc/pvsgenerator.inc.php index 0d6f1d98..063c748d 100644 --- a/modules-available/roomplanner/inc/pvsgenerator.inc.php +++ b/modules-available/roomplanner/inc/pvsgenerator.inc.php @@ -38,7 +38,8 @@ class PvsGenerator $roomNames = array(); $roomBlocks = ''; foreach ($rooms as $room) { - if (is_null($room['notnull']) || isset($room['skip'])) // Not leaf + if (is_null($room['notnull']) || isset($room['skip']) // Not leaf + || empty($room['managerip'])) // rooms without managerips don't make sense continue; $roomBlock = PvsGenerator::generateRoomBlock($room); if ($roomBlock === false) |