Mercurial > epgrec.yaz
diff storeProgram.php @ 95:d9b9d1d903a1
fix: ?????
| author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
|---|---|
| date | Wed, 03 Mar 2010 00:02:15 +0900 |
| parents | 12ed8ad837fc |
| children | f7b6ae03a2a7 3bed74eca373 |
line wrap: on
line diff
--- a/storeProgram.php Tue Mar 02 23:35:28 2010 +0900 +++ b/storeProgram.php Wed Mar 03 00:02:15 2010 +0900 @@ -87,7 +87,7 @@ // チャンネルデータを探す $num = DBRecord::countRecords( CHANNEL_TBL , "WHERE channel_disc = '" . $disc ."'" ); if( $num == 0 ) { - if( array_key_exists( $disc, $map ) ) { + if( array_key_exists( "$disc", $map ) ) { // チャンネルデータがないなら新規作成 $rec = new DBRecord( CHANNEL_TBL ); $rec->type = $type;
