Index: branches/version-2/data/class/batch/SC_Batch_Daily.php
===================================================================
--- branches/version-2/data/class/batch/SC_Batch_Daily.php	(revision 16741)
+++ branches/version-2/data/class/batch/SC_Batch_Daily.php	(revision 17318)
@@ -136,5 +136,6 @@
             $arrRet = $objQuery->select("order_date, create_date", "dtb_bat_order_daily", "order_date = ?", array($batch_date));
             // すでにバッチ処理が終了しているかチェックする。
-            if(count($arrRet) > 0) {
+            $count = count($arrRet);
+            if( $count > 0 ) {
                 list($create_date) = split("\.", $arrRet[0]['create_date']);
                 list($order_date) = split("\.", $arrRet[0]['order_date']);
