diff Reservation.class.php @ 40:a935b4789aff

fix: bug
author Sushi-k <epgrec@park.mda.or.jp>
date Tue, 28 Jul 2009 12:23:13 +0900
parents 8965ef108821
children a701aaf6d216
line wrap: on
line diff
--- a/Reservation.class.php	Tue Jul 28 11:50:04 2009 +0900
+++ b/Reservation.class.php	Tue Jul 28 12:23:13 2009 +0900
@@ -86,7 +86,7 @@
 			
 			if( $battings >= $tuners ) {
 				// 重複を発見した
-				if( FORCE_CONT_REC ) {
+				if( $settings->force_cont_rec == 1 ) {
 					// 解消可能な重複かどうかを調べる
 					// 前後の予約数
 					$nexts = DBRecord::countRecords( RESERVE_TBL, "WHERE complete = '0' ".