Mercurial > epgrec.yaz
diff changeReservation.php @ 49:f8f6e0d3acaf
fix: bug
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Tue, 28 Jul 2009 19:06:04 +0900 |
parents | e5f9aa34d06f |
children | 481e789605e3 |
line wrap: on
line diff
--- a/changeReservation.php Tue Jul 28 19:03:41 2009 +0900 +++ b/changeReservation.php Tue Jul 28 19:06:04 2009 +0900 @@ -12,7 +12,7 @@ $reserve_id = $_POST['reserve_id']; $dbh = false; -if( $settings->mediatomb_update ) { +if( $settings->mediatomb_update == 1 ) { $dbh = @mysql_connect( $settings->db_host, $settings->db_user, $settings->db_pass ); if( $dbh !== false ) { $sqlstr = "use ".$settings->db_name; @@ -51,4 +51,4 @@ exit("complete"); -?> \ No newline at end of file +?>