Mercurial > epgrec.yaz
diff changeReservation.php @ 142:481e789605e3
mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sun, 21 Mar 2010 16:42:58 +0900 |
parents | f8f6e0d3acaf |
children |
line wrap: on
line diff
--- a/changeReservation.php Sun Mar 21 00:00:58 2010 +0900 +++ b/changeReservation.php Sun Mar 21 16:42:58 2010 +0900 @@ -27,6 +27,7 @@ if( isset( $_POST['title'] ) ) { $rec->title = trim( $_POST['title'] ); + $rec->dirty = 1; if( ($dbh !== false) && ($rec->complete == 1) ) { $title = trim( mysql_real_escape_string($_POST['title'])); $title .= "(".date("Y/m/d", toTimestamp($rec->starttime)).")"; @@ -37,6 +38,7 @@ if( isset( $_POST['description'] ) ) { $rec->description = trim( $_POST['description'] ); + $rec->dirty = 1; if( ($dbh !== false) && ($rec->complete == 1) ) { $desc = "dc:description=".trim( mysql_real_escape_string($_POST['description'])); $desc .= "&epgrec:id=".$reserve_id; @@ -51,4 +53,4 @@ exit("complete"); -?> +?> \ No newline at end of file