diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 5c557e3928125e437ab3884dcb81d844a384dfe4..3efe8f8fdb27b8400285e58450d0c8d2f8cb3680 100644 (file)
all POST / GET activity, "Department tagging" and the checkbox within the generic template.
*/
var $UnitTagDiabled = TRUE;
+ var $orig_base = "";
+ var $orig_ou = "";
function department ($config, $dn)
{
$this->ui= get_userinfo();
$this->dn= $dn;
$this->orig_dn= $dn;
+ $this->orig_ou= $this->ou;
$this->config= $config;
/* Set base */
$this->base= preg_replace ("/^[^,]+,/", "", $this->dn);
}
+ $this->orig_base = $this->base;
+
/* Is administrational Unit? */
if ($dn != "new" && in_array_ics('gosaAdministrativeUnit', $this->attrs['objectClass'])){
$this->is_administrational_unit= true;