Code

Fixed undefined index
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 08:54:41 +0000 (08:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 08:54:41 +0000 (08:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6332 594d385d-05f5-0310-b6e9-bd551577e9d8

html/index.php

index d9615399a6766d4e1b97c563895c4e7305b5c0af..b20c920e660b796c2d715eb6e9428f78aa1137d4 100644 (file)
@@ -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){