summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8fc9b8)
raw | patch | inline | side by side (parent: b8fc9b8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Jun 2008 08:29:59 +0000 (08:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Jun 2008 08:29:59 +0000 (08:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11389 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc
index f493543470717be53cc9ec4b2a44844430847bf6..2b76d0340e61a885c472d5b11a7ea61ed2be7aea 100644 (file)
function resolveObject($class)
{
$ldap = $this->config->get_ldap_link();
- $dn = $this->Releases [$this->Release];
+ if(isset($this->Releases[$this->Release])){
+ $dn = $this->Releases[$this->Release];
+ }else{
+ return(FALSE);
+ }
+
$resolvedClasses = FAI::get_all_objects_for_given_base($dn,"(&(objectClass=FAIclass)(cn=".$class."))");
/* Try to fetch all types of fai objects with the given cn */