summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f3c090)
raw | patch | inline | side by side (parent: 0f3c090)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Apr 2007 11:43:47 +0000 (11:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Apr 2007 11:43:47 +0000 (11:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6173 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_acl.inc | patch | blob | history |
diff --git a/include/class_acl.inc b/include/class_acl.inc
index d51f84f9b1e7ffed65d2158111d6173873356cf9..4e94b40c44e124e0d50289c436f86f36ea955cb4 100644 (file)
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
}
if(isset($_POST['selected_role'])){
+ $this->aclContents = "";
$this->aclContents = base64_decode($_POST['selected_role']);
}
}
$D_List =new DivSelectBox("Acl_Roles");
$selected = $this->aclContents;
- if(!isset($list[$this->aclContents])){
+ if(!is_string($this->aclContents) || !isset($list[$this->aclContents])){
$selected = key($list);
}
$option = "<input type='radio' name='selected_role' value='".base64_encode($dn)."'>";
}
- $field1 = array("string" => $values['cn'], "attach" => "style='width:200px;'") ;
- $field2 = array("string" => $values['description']) ;
- $field3 = array("string" => $option, "attach" => "style='border-right:0px;'") ;
+ $field1 = array("string" => $option) ;
+ $field2 = array("string" => $values['cn'], "attach" => "style='width:200px;'") ;
+ $field3 = array("string" => $values['description'],"attach" => "style='border-right:0px;'") ;
$D_List->AddEntry(array($field1,$field2,$field3));
}