Index: temp/trunk/data/class/SC_Query.php
===================================================================
--- temp/trunk/data/class/SC_Query.php	(revision 1328)
+++ temp/trunk/data/class/SC_Query.php	(revision 2852)
@@ -32,5 +32,5 @@
 	}
 
-	function getLastQuery($disp = false) {
+	function getLastQuery($disp = true) {
 		$sql = $this->conn->conn->last_query;
 		if($disp) { 
Index: temp/trunk/html/admin/batch/daily.php
===================================================================
--- temp/trunk/html/admin/batch/daily.php	(revision 2849)
+++ temp/trunk/html/admin/batch/daily.php	(revision 2852)
@@ -52,5 +52,5 @@
 		$objQuery = new SC_Query();
 		$count = $objQuery->count("dtb_bat_order_daily", "create_date > ?", $batch_pass);
-				
+		$objQuery->getLastQuery();
 		if($count > 0) {
 			gfPrintLog("LAST BATCH $batch_pass -> EXIT BATCH $batch_date");
