diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc
index 3142979c018c07979473ff3530dcfea6820d0668..5862a766362b164337354791f4c54f3d43170208 100644 (file)
Display list
****************/
- /* Check if there is a snapshot dialog open */
- if($str = $this->showSnapshotDialog($this->DivListOGroup->selectedBase,get_groups_ou())){
+ /* Check if there is a snapshot dialog open */
+ $base = $this->DivListOGroup->selectedBase;
+ if($str = $this->showSnapshotDialog($base,$this->get_used_snapshot_bases())){
return($str);
}
}
+ /* Return departments, that will be included within snapshot detection */
+ function get_used_snapshot_bases()
+ {
+ return(array(get_people_ou().$this->DivListOGroup->selectedBase));
+ }
+
+
+
function convert_list($input)
{
$temp= "";