summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2a7da4)
raw | patch | inline | side by side (parent: a2a7da4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 17 Jul 2008 11:44:07 +0000 (11:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 17 Jul 2008 11:44:07 +0000 (11:44 +0000) |
-If a FAI object is part of the currently selected release and not inherited from a parent release, then use the obejcts own FAIstate instead of using the FAIstate of the release.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11704 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11704 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
index 9b25238f752e7cd07c03eb51274781071fa1c598..34c36746540238525e476cf333b0460a01f25543 100644 (file)
/* Seems to be created within this release department.
This indicates - it can't be of state "freeze"
- */
- $buffer['FAIstate'] = "branch";
+ */
+ if(isset($attr['FAIstate'])){
+ $buffer['FAIstate'] = $attr['FAIstate'][0];
+ }else{
+ $buffer['FAIstate'] = "branch";
+ }
}
/* In detailed mode are some additonal informations visible */