summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e13f2e9)
raw | patch | inline | side by side (parent: e13f2e9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Apr 2010 15:09:33 +0000 (15:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Apr 2010 15:09:33 +0000 (15:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17782 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_acl.inc | patch | blob | history |
index 71db1500bee255d914cdc83afdcac117706c565d..e7ba343fd6e269d8092f37ecbd686e24673a2ea5 100644 (file)
if(count($list) == 5){
list($index, $type,$member,$permission,$filter)= $list;
$filter = base64_decode($filter);
- }else{
+ }elseif(count($list) == 4){
$filter = "";
list($index, $type,$member,$permission)= $list;
+ }else{
+ $permission = "";
+ $filter = "";
+ list($index, $type,$member)= $list;
}
$a= array( $index => array("type" => $type,
$acl= $this->gosaAclEntry[$this->currentIndex];
$this->aclType= $acl['type'];
$this->recipients= $acl['members'];
- $this->aclContents= $acl['acl'];
+ $this->aclContents= (isset($acl['acl'])) ? $acl['acl'] :"";
$this->aclFilter= $acl['filter'];
}