diff options
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php index 5c1a87d5..6deea7f7 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php @@ -78,7 +78,7 @@ class IPxeMenu public static function forLocation($locationId) { $chain = null; - if (Module::isAvailable('location')) { + if (Module::isAvailable('locations')) { $chain = Location::getLocationRootChain($locationId); } if (!empty($chain)) { @@ -115,7 +115,7 @@ class IPxeMenu public static function forClient($ip, $uuid) { $locationId = 0; - if (Module::isAvailable('location')) { + if (Module::isAvailable('locations')) { $locationId = Location::getFromIpAndUuid($ip, $uuid); } return self::forLocation($locationId); |