From: hickert Date: Thu, 27 Apr 2006 04:56:44 +0000 (+0000) Subject: Fiexed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2a869f61a7e54b6e79b9b724417436d97dfed4ea;p=gosa.git Fiexed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3130 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index 4770a78d1..9e339ca31 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -218,10 +218,12 @@ class servnfs extends plugin while($test = $ldap->fetch()){ if($test['dn']==$this->dn) continue; - foreach($test['goExportEntry'] as $entry){ - $tmp = split("\|",$entry); - if($tmp[0] == $this->name){ - $message[]="Name already in use"; + if(isset($test['goExportEntry'])){ + foreach($test['goExportEntry'] as $entry){ + $tmp = split("\|",$entry); + if($tmp[0] == $this->name){ + $message[]="Name already in use"; + } } } }