Index: temp/trunk/html/install/index.php
===================================================================
--- temp/trunk/html/install/index.php	(revision 5084)
+++ temp/trunk/html/install/index.php	(revision 5085)
@@ -62,4 +62,12 @@
 case 'step2':
 	//ÆþÎÏÃÍ¤Î¥¨¥é¡¼¥Á¥§¥Ã¥¯
+	if ($_POST['db_type'] == 'pgsql') {
+		$_POST['db_port'] = "";
+	}else{
+		$_POST['db_port'] = ":".$_POST['db_port'];
+		$objDBParam->setValue("db_port", $_POST['db_port']);
+		$objWEBParam->setValue("db_port", $_POST['db_port']);
+	}
+	
 	$objPage->arrErr = lfCheckDBError($objDBParam);
 	
@@ -417,12 +425,4 @@
 	$objErr->arrErr = $objFormParam->checkError();
 	
-	if ($arrRet['db_type'] == 'pgsql') {
-		$arrRet['db_port'] = "";
-	}else{
-		$arrRet['db_port'] = ":".$arrRet['db_port'];
-		$objFormParam->setValue("db_port", $arrRet['db_port']);
-		sfprintr($objFormParam);
-	}
-	
 	if(count($objErr->arrErr) == 0) {
 		// ÀÜÂ³³ÎÇ§
