changeset 48:8fbe3913f214

fix: bug
author Sushi-k <epgrec@park.mda.or.jp>
date Tue, 28 Jul 2009 19:03:41 +0900
parents a701aaf6d216
children f8f6e0d3acaf
files Reservation.class.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Reservation.class.php	Tue Jul 28 18:48:32 2009 +0900
+++ b/Reservation.class.php	Tue Jul 28 19:03:41 2009 +0900
@@ -279,7 +279,7 @@
 				fwrite($pipes[0], $settings->sleep." ".$sleep_time."\n" );
 				fwrite($pipes[0], DO_RECORD . "\n" );
 				fwrite($pipes[0], COMPLETE_CMD." ".$rrec->id."\n" );
-				if( $settings->use_thumbs ) {
+				if( $settings->use_thumbs == 1 ) {
 					fwrite($pipes[0], GEN_THUMBNAIL."\n" );
 				}
 				fclose($pipes[0]);
@@ -351,4 +351,4 @@
 		}
 	}
 }
-?>
\ No newline at end of file
+?>