From: hickert Date: Thu, 5 May 2011 14:13:09 +0000 (+0000) Subject: Fixed error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7e254474ecb836fbe1617c8743d06f6479206c6c;p=gosa.git Fixed error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20782 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc index fe34a37ba..a7a1e6f13 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc @@ -95,7 +95,7 @@ class InstallRecipe extends plugin // Detect account status by checking the used objectClasses $this->is_account = FALSE; foreach($this->map as $type){ - if(in_array($type['objectClass'], $this->attrs['objectClass'])){ + if(isset($this->attrs['objectClass']) && in_array($type['objectClass'], $this->attrs['objectClass'])){ $this->installBootstrapMethod = $type['bootstrap']; $this->installConfigManagement = $type['type']; $this->is_account = TRUE;