summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b6a3aa)
raw | patch | inline | side by side (parent: 7b6a3aa)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Feb 2010 15:13:43 +0000 (15:13 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Feb 2010 15:13:43 +0000 (15:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15635 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 6bef2744e5f3902ae0f940e7667516d17822b4f0..4e5f5656b7e4e61be4fd64a570695eb043bfc111 100644 (file)
// Ensure that we've a valid acl_category set.
if(empty($this->acl_category)){
$tmp = $this->plInfo();
- $c = key($tmp['plCategory']);
- if(is_numeric($c)){
- $c = $tmp['plCategory'][0];
+ if (isset($tmp['plCategory'])) {
+ $c = key($tmp['plCategory']);
+ if(is_numeric($c)){
+ $c = $tmp['plCategory'][0];
+ }
+ $this->acl_category = $c."/";
}
- $this->acl_category = $c."/";
}
/* Handle new accounts, don't read information from LDAP */