summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aabab0f)
raw | patch | inline | side by side (parent: aabab0f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Nov 2008 07:17:10 +0000 (07:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Nov 2008 07:17:10 +0000 (07:17 +0000) |
-Fixed undefined index for unknown conference owner.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12889 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12889 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/conference/class_divListConferences.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/conference/class_divListConferences.inc b/gosa-plugins/gofon/gofon/conference/class_divListConferences.inc
index 70554d531b416e6fd0824ddaea3ed13573b6520a..442f552cf9ceddc67b28fc7f125a85b2906923fe 100644 (file)
/* Get conference owner name */
$ldap= $this->parent->config->get_ldap_link();
- $ldap->cat($conference['goFonConferenceOwner'][0], array('cn'));
+ $ldap->cat($conference['goFonConferenceOwner'][0], array('cn','dn'));
$data = $ldap->fetch();
if(isset($data['cn'][0])){
$cn = $data['cn'][0];
}
/* Create title */
- $title = " title='".preg_replace("/ /"," ",LDAP::fix($data['dn']))."' ";
+ $title="";
+ if(isset($data['dn'])){
+ $title = " title='".preg_replace("/ /"," ",LDAP::fix($data['dn']))."' ";
+ }
/* Cutted objects should be displayed in light grey */
$display = $conference['cn'][0].$number;