Index: branches/dev/html/admin/customer/edit.php
===================================================================
--- branches/dev/html/admin/customer/edit.php	(revision 11462)
+++ branches/dev/html/admin/customer/edit.php	(revision 11553)
@@ -314,5 +314,5 @@
 		$page_max = SEARCH_PMAX;
 		//¹ØÆþÍúÎò¤Î·ï¿ô¼èÆÀ
-		$objPage->tpl_linemax = $objQuery->count("dtb_order","customer_id=?", array($customer_id));
+		$objPage->tpl_linemax = $objQuery->count("dtb_order","customer_id=? AND del_flg = 0 ", array($customer_id));
 		$linemax = $objPage->tpl_linemax;
 		
