From: hickert Date: Thu, 14 Jul 2005 08:28:12 +0000 (+0000) Subject: Changed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ebbe88a10bc961428d01ddbfff6923f308f7851c;p=gosa.git Changed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@953 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions_setup.inc b/include/functions_setup.inc index 07d160b01..10a8fece6 100644 --- a/include/functions_setup.inc +++ b/include/functions_setup.inc @@ -230,7 +230,7 @@ function schema_check($server, $admin, $password, $aff=0,$CalledByIndexPhP=false /* Fix for PHP Fehler "Undefined index: ldapconf" * Ablaufverfolgung[1]: Funktion schema_check Datei: /home/hickert/gosa/include/functions_setup.inc (Zeile 230) */ - if(isset($_SESSION['ldapconf']['mail_methods'][$_SESSION['ldapconf']['mail']])){ + if((isset($_SESSION['ldapconf']['mail_methods']))&&(isset([$_SESSION['ldapconf']))){ if(($_SESSION['ldapconf']['mail_methods'][$_SESSION['ldapconf']['mail']] == "kolab")&&(!$CalledByIndexPhP)){ if(!isset($objectclasses['kolabInetOrgPerson'])) { $messages['kolab']['msg']= _("Support for Kolab disabled, no schema seems to be installed, setting mail-method to cyrus");