Mercurial > epgrec.yaz
changeset 94:12ed8ad837fc
fix: ¤µ¤é¤Ë½¤Àµ
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Tue, 02 Mar 2010 23:35:28 +0900 |
parents | 80cc05b420af |
children | d9b9d1d903a1 |
files | getepg.old.php storeProgram.php |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/getepg.old.php Tue Mar 02 23:21:17 2010 +0900 +++ b/getepg.old.php Tue Mar 02 23:35:28 2010 +0900 @@ -138,7 +138,7 @@ foreach( $xml->programme as $program ) { $channel_disc = $program['channel']; - if( ! array_key_exists( $channel_disc, $map ) ) continue; + if( ! array_key_exists( "$channel_disc", $map ) ) continue; $channel = $map["$channel_disc"]; $starttime = str_replace(" +0900", '', $program['start'] );
--- a/storeProgram.php Tue Mar 02 23:21:17 2010 +0900 +++ b/storeProgram.php Tue Mar 02 23:35:28 2010 +0900 @@ -112,7 +112,7 @@ foreach( $xml->programme as $program ) { $channel_disc = $program['channel']; - if( ! array_key_exists( $channel_disc, $map ) ) continue; + if( ! array_key_exists( "$channel_disc", $map ) ) continue; $channel = $map["$channel_disc"]; $starttime = str_replace(" +0900", '', $program['start'] );