summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81aba9b)
raw | patch | inline | side by side (parent: 81aba9b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jun 2006 11:11:57 +0000 (11:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jun 2006 11:11:57 +0000 (11:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3764 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/conference/class_divListConferences.inc | patch | blob | history |
diff --git a/plugins/gofon/conference/class_divListConferences.inc b/plugins/gofon/conference/class_divListConferences.inc
index cc3ee6470075e653d4feda3d06b0bc8fb60294de..18ee1f7a58300f3e15391dfd69cf7ac41682ba56 100755 (executable)
$ldap= $this->parent->config->get_ldap_link();
$ldap->cat($conference['goFonConferenceOwner'][0], array('cn'));
$data = $ldap->fetch();
- $cn = $data['cn'][0];
+ if(isset($data['cn'][0])){
+ $cn = $data['cn'][0];
+ }else{
+ $cn ="";
+ }
+
$title = " title='".preg_replace("/ /"," ",@LDAP::fix($data['dn']))."' ";
if(($this->parent->ui->dn==$conference['goFonConferenceOwner'][0])&&(chkacl($this->parent->acl,"goFonConferenceOwner")=="")){
$a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions), "attach" => $title."style='width:60px;border-right:0px;text-align:right;'");
- }elseif(chkacl($this->acl,"goFonConferenceOwner")==""){
+ }elseif(chkacl($this->parent->acl,"goFonConferenceOwner")==""){
$a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions2), "attach" => $title."style='width:52px;border-right:0px;text-align:right;'");
}else{
$a_field5 = array("string"=>" ", "attach" => $title."style='width:52px;border-right:0px;text-align:right;'");