changeset 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 b0095925b3da 57676bb30f64
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: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;
--- 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;