From: hickert Date: Thu, 10 May 2007 08:54:41 +0000 (+0000) Subject: Fixed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3357705b380f25e346d68aca6914ecd3c93d7cc3;p=gosa.git Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6332 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/index.php b/html/index.php index d9615399a..b20c920e6 100644 --- a/html/index.php +++ b/html/index.php @@ -230,7 +230,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ $cfg['connection']= $config->current['SERVER']; $cfg['tls'] = $tls; - $str = check_schema($cfg,preg_match("/(true|yes|on|1)/i",$config->current['RFC2307BIS'])); + $str = check_schema($cfg,isset($config->current['RFC2307BIS']) && preg_match("/(true|yes|on|1)/i",$config->current['RFC2307BIS'])); $checkarr = array(); foreach($str as $tr){