From: hickert Date: Mon, 18 Jul 2005 14:53:33 +0000 (+0000) Subject: Fixed some indefined Index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2c8f47f104350da2e94994707991ab749046c4a;p=gosa.git Fixed some indefined Index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@967 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions_setup.inc b/include/functions_setup.inc index 0a3fa7cbf..84fcebc77 100644 --- a/include/functions_setup.inc +++ b/include/functions_setup.inc @@ -337,6 +337,7 @@ function perform_php_checks(&$faults) function perform_additional_checks(&$faults) { + $ret = NULL; /* Programm check */ $msg= "

"._("Checking for some additional programms")."

"; @@ -577,6 +578,7 @@ function parse_contrib_conf() /* Show setup_page 1 */ function show_setup_page1($withoutput = true) { + $faults = array(); $smarty = get_smarty(); $smarty->assign ("content", get_template_path('setup_introduction.tpl')); $smarty->assign ("tests", perform_php_checks($faults)); @@ -606,6 +608,7 @@ function show_setup_page1($withoutput = true) /* Show setup_page 2 */ function show_setup_page2($withoutput = true) { + $faults = array(); $smarty = get_smarty(); $smarty->assign ("content", get_template_path('setup_step2.tpl')); $smarty->assign ("tests", perform_additional_checks($faults)); @@ -629,6 +632,7 @@ function show_setup_page2($withoutput = true) function show_setup_page3($withoutput = true) { + $ds = NULL; $smarty = get_smarty(); /* Take the Post oder the Sessioin saved data */ @@ -716,6 +720,7 @@ function show_setup_page4($withoutput = true) { $smarty= get_smarty(); + // ? if(!isset($_SESSION['ldapconf']['base'])){ $_SESSION['ldapconf']['base']= $base; } @@ -1104,7 +1109,7 @@ function create_user_for_setup($withoutput=true) return(true); } else { - if(!($create_user)) { + if((!isset($create_user))||(!($create_user))) { $smarty->assign ("content", get_template_path('setup_useradmin.tpl')); $smarty->assign("exists",true); } else {