From 1eb0ee3cb6a31f5602af0ac9ae2ee1c484ff6890 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 Sep 2009 08:22:11 +0000 Subject: [PATCH] Fixed wrong existance check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14382 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); } -- 2.30.2