diff --git a/lam/lib/modules/range.inc b/lam/lib/modules/range.inc index b671094c..1689714f 100644 --- a/lam/lib/modules/range.inc +++ b/lam/lib/modules/range.inc @@ -376,13 +376,10 @@ class range extends baseModule { * It will output a complete html-table */ public function display_html_attributes() { - // user name if no posixAccount - $modules = $_SESSION['config']->get_AccountModules($this->get_scope()); if ($this->getAccountContainer()->getAccountModule('dhcp_settings')->attributes['cn'][0]=="") { echo "" . _("Please fill out the DHCP settings first.") . ""; } - else - { + else { // If $ranges is not a array, then create it if (!is_array($this->ranges)) {