Index: /temp/trunk/html/admin/batch/daily.php
===================================================================
--- /temp/trunk/html/admin/batch/daily.php	(revision 2842)
+++ /temp/trunk/html/admin/batch/daily.php	(revision 2843)
@@ -53,6 +53,6 @@
 		$count = $objQuery->count("dtb_bat_order_daily", "create_date > ?", $batch_pass);
 		
-		$count = 0;
-		
+		$objQuery->getLastQuery();
+				
 		if($count > 0 && !$command) {
 			gfPrintLog("LAST BATCH $batch_pass -> EXIT BATCH $batch_date");
