diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index 1bcece131b5f9c7b6d43a8f0ff91b42716b083d0..6bf78f1545b001fa94d68605f8923a3467ff036a 100644 (file)
/* Finish group edit is triggered by the tabulator dialog, so
the user wants to save edited data. Check and save at this
point. */
- if (isset($_POST['edit_finish'])){
+ if ((isset($_POST['edit_finish'])) && (isset($this->grouptab->config)) ){
/* Check tabs, will feed message array */
$message= $this->grouptab->check();
}
/* User wants to edit data? */
- if ($s_action=="edit"){
+ if (($s_action=="edit") && (!isset($this->grouptab-> config))){
/* Get 'dn' from posted 'uid', must be unique */
$this->dn= $this->grouplist[trim($s_entry)]['dn'];
}
/* Show tab dialog if object is present */
- if ($this->grouptab){
+ if (isset($this->grouptab->config)){
$display= $this->grouptab->execute();
/* Don't show buttons if tab dialog requests this */
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
$userimg = "<img class='center' src='images/select_groups.png' alt='User' title='%s'>";
- $actions = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
-
/* Extension images
group