From 7e254474ecb836fbe1617c8743d06f6479206c6c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 5 May 2011 14:13:09 +0000 Subject: [PATCH] Fixed error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20782 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/Device/class_InstallRecipe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2