From: hickert Date: Tue, 21 Oct 2008 12:20:39 +0000 (+0000) Subject: Fixed UnitTag Problem for departments X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ebccb3e4a50b3038a0f985fedb4fc87f7cd250c0;p=gosa.git Fixed UnitTag Problem for departments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12750 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc index d0273c1e0..04d0fd63c 100644 --- a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc +++ b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc @@ -254,7 +254,7 @@ class department extends plugin /* Save tagging flag */ if ($this->acl_is_writeable("gosaUnitTag")){ - if (isset($_POST['gosaUnitTag'])){ + if (isset($_POST['is_administrational_unit'])){ $this->is_administrational_unit= true; } else { $this->is_administrational_unit= false; diff --git a/gosa-core/plugins/admin/departments/country.tpl b/gosa-core/plugins/admin/departments/country.tpl index 7974f812d..3164c3ed6 100644 --- a/gosa-core/plugins/admin/departments/country.tpl +++ b/gosa-core/plugins/admin/departments/country.tpl @@ -49,7 +49,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/dcObject.tpl b/gosa-core/plugins/admin/departments/dcObject.tpl index 3994fbeb7..6e985f049 100644 --- a/gosa-core/plugins/admin/departments/dcObject.tpl +++ b/gosa-core/plugins/admin/departments/dcObject.tpl @@ -49,7 +49,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/generic.tpl b/gosa-core/plugins/admin/departments/generic.tpl index f99312fa1..48f58dbc6 100644 --- a/gosa-core/plugins/admin/departments/generic.tpl +++ b/gosa-core/plugins/admin/departments/generic.tpl @@ -113,7 +113,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/locality.tpl b/gosa-core/plugins/admin/departments/locality.tpl index eb330eacc..3328695a6 100644 --- a/gosa-core/plugins/admin/departments/locality.tpl +++ b/gosa-core/plugins/admin/departments/locality.tpl @@ -49,7 +49,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/organization.tpl b/gosa-core/plugins/admin/departments/organization.tpl index 028d1d22d..7a955f3f5 100644 --- a/gosa-core/plugins/admin/departments/organization.tpl +++ b/gosa-core/plugins/admin/departments/organization.tpl @@ -113,7 +113,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render}