diff recomplete.php @ 49:f8f6e0d3acaf

fix: bug
author Sushi-k <epgrec@park.mda.or.jp>
date Tue, 28 Jul 2009 19:06:04 +0900
parents 8965ef108821
children 3bed74eca373
line wrap: on
line diff
--- a/recomplete.php	Tue Jul 28 19:03:41 2009 +0900
+++ b/recomplete.php	Tue Jul 28 19:06:04 2009 +0900
@@ -14,7 +14,7 @@
 	if( file_exists( INSTALL_PATH .$settings->spool . "/". $rrec->path ) ) {
 		// 予約完了
 		$rrec->complete = '1';
-		if( $settings->mediatomb_update ) {
+		if( $settings->mediatomb_update == 1 ) {
 			// ちょっと待った方が確実っぽい
 			@exec("sync");
 			sleep(15);
@@ -41,4 +41,4 @@
 	exit( $e->getMessage() );
 }
 
-?>
\ No newline at end of file
+?>