# HG changeset patch # User epgrec@park.mda.or.jp # Date 1270372487 -32400 # Node ID c6c6bd734f18715ae4bb1ab987945db019c8369f # Parent 84220382fea83a91e5ba81abf59243d6c4af966a fix: ߥ diff -r 84220382fea8 -r c6c6bd734f18 cancelReservation.php --- a/cancelReservation.php Sun Apr 04 17:10:17 2010 +0900 +++ b/cancelReservation.php Sun Apr 04 18:14:47 2010 +0900 @@ -19,6 +19,12 @@ try { $rec = new DBRecord( RESERVE_TBL, "id" , $reserve_id ); $program_id = $rec->program_id; + + if( isset( $_GET['delete_file'] ) ) { + if( $_GET['delete_file'] == 1 ) { + $path = INSTALL_PATH."/".$settings->spool."/".$rec->path; + } + } } catch( Exception $e ) { // 無視 @@ -35,13 +41,7 @@ // 無視 } } -if( $rec == null ) exit( "Error: 予約レコードが取得出来ません" ); -if( isset( $_GET['delete_file'] ) ) { - if( $_GET['delete_file'] == 1 ) { - $path = INSTALL_PATH."/".$settings->spool."/".$rec->path; - } -} // 予約取り消し実行 diff -r 84220382fea8 -r c6c6bd734f18 templates/recordedTable.html --- a/templates/recordedTable.html Sun Apr 04 17:10:17 2010 +0900 +++ b/templates/recordedTable.html Sun Apr 04 18:14:47 2010 +0900 @@ -37,6 +37,7 @@ alert(data); } else { +// alert(data); $('#resid_' + id ).hide(); $('#floatBox4Dialog').dialog('close'); }