diff getepg.old.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 3bed74eca373
line wrap: on
line diff
--- a/getepg.old.php	Tue Mar 02 23:35:28 2010 +0900
+++ b/getepg.old.php	Wed Mar 03 00:02:15 2010 +0900
@@ -113,7 +113,7 @@
 		$num = DBRecord::countRecords( CHANNEL_TBL , "WHERE channel_disc = '" . $disc ."'" );
 		if( $num == 0 ) {
 			// channel discがγͺγ„γ‚ˆγ†γͺら飛ばす
-			if( array_key_exists( $disc, $map ) ) {
+			if( array_key_exists( "$disc", $map ) ) {
 				// γƒγƒ£γƒ³γƒγƒ«γƒ‡γƒΌγ‚ΏγŒγͺいγͺγ‚‰ζ–°θ¦δ½œζˆ
 				$rec = new DBRecord( CHANNEL_TBL );
 				$rec->type = $type;