From fef11654ddd60ca27f2bba300e1381d580dabbf9 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 9 Jun 2006 10:00:31 +0000 Subject: [PATCH] Fixed conference errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3750 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/conference/class_divListConferences.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/gofon/conference/class_divListConferences.inc b/plugins/gofon/conference/class_divListConferences.inc index cc3ee6470..44d611871 100755 --- a/plugins/gofon/conference/class_divListConferences.inc +++ b/plugins/gofon/conference/class_divListConferences.inc @@ -128,7 +128,11 @@ class divListConference extends MultiSelectWindow $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']))."' "; @@ -144,7 +148,7 @@ class divListConference extends MultiSelectWindow 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;'"); -- 2.30.2