diff simpleReservation.php @ 87:36ac7c416bd7

merged with upstream
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 01 Mar 2010 20:51:36 +0900
parents fce37385c8b4 cb7da56c4198
children 66eabfc1b118
line wrap: on
line diff
--- a/simpleReservation.php	Sun Feb 14 17:01:02 2010 +0900
+++ b/simpleReservation.php	Mon Mar 01 20:51:36 2010 +0900
@@ -8,9 +8,9 @@
 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" );
 $program_id = $_GET['program_id'];
 
+$settings = Settings::factory();
+
 try {
-    	$settings = Settings::factory();
-
 	Reservation::simple( $program_id, 0, $settings->autorec_mode);
 }
 catch( Exception $e ) {