Index: /temp/trunk/html/admin/batch/daily.php
===================================================================
--- /temp/trunk/html/admin/batch/daily.php	(revision 4822)
+++ /temp/trunk/html/admin/batch/daily.php	(revision 4823)
@@ -178,6 +178,4 @@
 function lfBatOrderDailyHour($time) {
 	
-	$sql = lfGetOrderDailySQL();
-	
 	// ½¸·×ÂÐ¾ÝÆü¤ò¼èÆÀ¤¹¤ë
 	$date = date("Y-m-d", $time);
@@ -191,5 +189,6 @@
 		$sdate = sprintf("%s %02d:00:00", $date, $i);
 		$edate = sprintf("%s %02d:59:59", $date, $i);
-		$arrRet = $objQuery->getall($sql, array($sdate, $edate));
+		$sql = lfGetOrderDailySQL($sdate, $edate);
+		$arrRet = $objQuery->getall($sql);
 		$sqlval = $arrRet[0];
 		// ¶õÊ¸»ú¤ò"0"¤ËÊÑ´¹
