Index: /temp/trunk/html/mypage/history.php
===================================================================
--- /temp/trunk/html/mypage/history.php	(revision 4608)
+++ /temp/trunk/html/mypage/history.php	(revision 5197)
@@ -37,5 +37,5 @@
 	// ÇÛÁ÷»þ´Ö¤Î¼èÆÀ
 	$arrRet = sfGetDelivTime($objPage->arrDisp['payment_id']);
-	$objPage->arrDelivTime = sfArrKeyValue($arrRet, 'time_id', 'time');
+	$objPage->arrDelivTime = sfArrKeyValue($arrRet, 'time_id', 'deliv_time');
 
 	//¥Þ¥¤¥Ú¡¼¥¸¥È¥Ã¥×¸ÜµÒ¾ðÊóÉ½¼¨ÍÑ
Index: /temp/trunk/data/lib/slib.php
===================================================================
--- /temp/trunk/data/lib/slib.php	(revision 5193)
+++ /temp/trunk/data/lib/slib.php	(revision 5197)
@@ -1307,4 +1307,6 @@
 	}
 	
+	$objQuery->getlastquery();
+	
 	if($deliv_id != "") {
 		$objQuery->setorder("time_id");
@@ -1312,4 +1314,7 @@
 		$arrRet= $objQuery->select("time_id, deliv_time", "dtb_delivtime", $where, array($deliv_id));
 	}
+	
+	$objQuery->getlastquery();
+	
 	return $arrRet;	
 }
