From: hickert Date: Mon, 3 Apr 2006 08:18:19 +0000 (+0000) Subject: Fixed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f75f593f022a6c5c085fa1ffb56cd827e22a1ff;p=gosa.git Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2953 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index d543755b1..653f9900c 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -42,9 +42,10 @@ class termDNS extends plugin plugin::plugin ($config, $dn); - $this->OrigCn = $this->attrs['cn'][0]; + if(isset($this->attrs['cn'][0])){ + $this->OrigCn = $this->attrs['cn'][0]; + } - /* Hide all dns specific code, if dns is not available */ $DNSenabled = false;