From 9f75f593f022a6c5c085fa1ffb56cd827e22a1ff Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 3 Apr 2006 08:18:19 +0000 Subject: [PATCH] Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2953 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_termDNS.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.30.2