Mercurial > epgrec.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
94:12ed8ad837fc | 95:d9b9d1d903a1 |
---|---|
85 $disc = $ch['id']; | 85 $disc = $ch['id']; |
86 try { | 86 try { |
87 // γγ£γ³γγ«γγΌγΏγζ’γ | 87 // γγ£γ³γγ«γγΌγΏγζ’γ |
88 $num = DBRecord::countRecords( CHANNEL_TBL , "WHERE channel_disc = '" . $disc ."'" ); | 88 $num = DBRecord::countRecords( CHANNEL_TBL , "WHERE channel_disc = '" . $disc ."'" ); |
89 if( $num == 0 ) { | 89 if( $num == 0 ) { |
90 if( array_key_exists( $disc, $map ) ) { | 90 if( array_key_exists( "$disc", $map ) ) { |
91 // γγ£γ³γγ«γγΌγΏγγͺγγͺγζ°θ¦δ½ζ | 91 // γγ£γ³γγ«γγΌγΏγγͺγγͺγζ°θ¦δ½ζ |
92 $rec = new DBRecord( CHANNEL_TBL ); | 92 $rec = new DBRecord( CHANNEL_TBL ); |
93 $rec->type = $type; | 93 $rec->type = $type; |
94 $rec->channel = $map["$disc"]; | 94 $rec->channel = $map["$disc"]; |
95 $rec->channel_disc = $disc; | 95 $rec->channel_disc = $disc; |