diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc
index c0fb36eb343b6ba14af8e60f9713f40713cf4b0a..8858285e8947b7618882d8f19a783f514c52f905 100644 (file)
/* Check if selected base is valid */
$tmp = $this->get_allowed_bases();
- if(isset($tmp[$_POST['base']])){
+ if(isset($tmp[$this->dialog->isSelected()])){
$this->base = $this->dialog->isSelected();
}
$this->dialog= false;