summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e725ac3)
raw | patch | inline | side by side (parent: e725ac3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Jun 2005 07:27:22 +0000 (07:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Jun 2005 07:27:22 +0000 (07:27 +0000) |
plugins/admin/systems/class_phoneGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc
index 50ac4d3c292ddf4875f51887904c8e19107a2698..dfe1b4e148eeac86d02f257265edd0e753537680 100644 (file)
} else {
$this->selected_categorie = 0;
}
-
+
+ if($this->goFonDefaultIP!="dynamic"){
+ $this->goFonDefaultIP = "network";
+ }
+
/* Save dn for later references */
$this->orig_dn= $this->dn;
}
}
$this->attrs= $attrs;
}
-
+
+ if($this->goFonDefaultIP!="dynamic"){
+ $this->attrs['goFonDefaultIP'] = $this->ipHostNumber;
+ }
+
/* Write back to ldap */
$ldap= $this->config->get_ldap_link();
if ($this->orig_dn == 'new'){