Index: /temp/trunk/html/admin/total/index.php
===================================================================
--- /temp/trunk/html/admin/total/index.php	(revision 2796)
+++ /temp/trunk/html/admin/total/index.php	(revision 2797)
@@ -478,6 +478,6 @@
 			$where.= " AND ";
 		}			
-		$where.= " $col_date >= ? ";
-		$arrval[] = $sdate;
+		$where.= " $col_date >= '". $sdate ."'";
+//		$arrval[] = $sdate;
 	}
 		
@@ -486,6 +486,6 @@
 			$where.= " AND ";
 		}			
-		$where.= " $col_date <= ? ";
-		$arrval[] = $edate;
+		$where.= " $col_date < '" . $edate ."'";
+//		$arrval[] = $edate;
 	}
 	
