From: hickert Date: Tue, 29 Sep 2009 08:22:11 +0000 (+0000) Subject: Fixed wrong existance check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1eb0ee3cb6a31f5602af0ac9ae2ee1c484ff6890;p=gosa.git Fixed wrong existance check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14382 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index df1944d3e..e336feb26 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -721,7 +721,7 @@ class termDNS extends plugin } /* Do not add the objectClass ipHost if no ip address is given */ - if(!$this->attrs['ipHostNumber']){ + if(!isset($this->attrs['ipHostNumber'])){ $this->attrs['objectClass'] = array_remove_entries(array("ipHost"),$this->attrs['objectClass']); }