diff storeProgram.inc.php @ 169:e379552d084c

fix: recorder.php:子プロセスを再帰的に停止させるよう変更
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 18 Apr 2010 18:06:39 +0900
parents b3095425e613
children
line wrap: on
line diff
--- a/storeProgram.inc.php	Fri Apr 16 18:04:23 2010 +0900
+++ b/storeProgram.inc.php	Sun Apr 18 18:06:39 2010 +0900
@@ -191,7 +191,8 @@
 				
 				try {
 					$reserve = new DBRecord( RESERVE_TBL, "program_id", $rec->id );
-					if( $reserve->dirty == 0 ) {
+					// dirty腴c憜緇牙私膣с
+					if( ($reserve->dirty == 0) && (toTimestamp($reserve->starttime) > time()) ) {
 						$reserve->title = $title;
 						$reserve->description = $desc;
 						reclog( "getepg:: 篋膣ID".$reserve->id."EPG宴贋違" );