diff Reservation.class.php @ 120:cb04c9ca1cb0

add: チャンネルスキップの追加途中(改造中)
author yoneda <epgrec@park.mda.or.jp>
date Sun, 14 Mar 2010 23:49:11 +0900
parents f268d7d10590
children a971ef7888b4
line wrap: on
line diff
--- a/Reservation.class.php	Sat Mar 13 23:30:11 2010 +0900
+++ b/Reservation.class.php	Sun Mar 14 23:49:11 2010 +0900
@@ -77,7 +77,7 @@
 			$crec = new DBRecord( CHANNEL_TBL, "id", $channel_id );
 			
 			// √篋膣 = TUNER
-			$tuners = ($crec->type == "GR") ? $settings->gr_tuners : $settings->bs_tuners;
+			$tuners = ($crec->type == "GR") ? (int)($settings->gr_tuners) : (int)($settings->bs_tuners);
 			$type_str = ($crec->type == "GR") ? "type = 'GR' " : "(type = 'BS' OR type = 'CS') ";
 			
 			$battings = DBRecord::countRecords( RESERVE_TBL, "WHERE complete = '0' ".