summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mre/patch.diff
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-08-29 03:32:59 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-08-29 03:32:59 (GMT)
commit892d65138d7773d2c5595ff03bae0947f6b00fec (patch)
tree9c1c8e41db949266a4651bf3233ed14b52ea6292 /abs/extra-testing/community/mre/patch.diff
parent7a9be023215377956af9751971dfa1eee0d13bae (diff)
downloadlinhes_pkgbuild-892d65138d7773d2c5595ff03bae0947f6b00fec.zip
linhes_pkgbuild-892d65138d7773d2c5595ff03bae0947f6b00fec.tar.gz
linhes_pkgbuild-892d65138d7773d2c5595ff03bae0947f6b00fec.tar.bz2
mre: Update MLBEvent from goofee
Diffstat (limited to 'abs/extra-testing/community/mre/patch.diff')
-rw-r--r--abs/extra-testing/community/mre/patch.diff13
1 files changed, 7 insertions, 6 deletions
diff --git a/abs/extra-testing/community/mre/patch.diff b/abs/extra-testing/community/mre/patch.diff
index 32a7919..38a501a 100644
--- a/abs/extra-testing/community/mre/patch.diff
+++ b/abs/extra-testing/community/mre/patch.diff
@@ -45,7 +45,7 @@
/**
* Class constructor.
-@@ -43,41 +43,24 @@
+@@ -43,41 +43,25 @@
trigger_error("Unable to generate valid search terms! [$gameInfo]", E_USER_WARNING);
else
{
@@ -89,7 +89,8 @@
+ foreach($data_array as $line)
+ {
+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
++ $line=str_replace("Chicago Sox", "Chicago White Sox", $line); #Program guide gives Chicago White Sox, website gives Chicago Sox
++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
+ {
+ if((strpos($line,'FINAL'))or(strpos($line,'Postponed')))
+ $this->setEventOver(TRUE);
@@ -152,7 +153,7 @@
+ foreach($data_array as $line)
+ {
+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
+ {
+ if(strpos($line,'FINAL'))
+ $this->setEventOver(TRUE);
@@ -215,7 +216,7 @@
+ foreach($data_array as $line)
+ {
+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
+ {
+ if(strpos($line,'FINAL'))
+ $this->setEventOver(TRUE);
@@ -276,7 +277,7 @@
+ foreach($data_array as $line)
+ {
+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
+ {
+ if(strpos($line,'FINAL'))
+ $this->setEventOver(TRUE);
@@ -289,4 +290,4 @@
+ }
}
if(!$this->isValid())
- trigger_error("Unable to find NHL info for '$gameInfo'! The NHL parser may need to be updated.", E_USER_WARNING);
+ trigger_error("Unable to find NHL info for '$gameInfo'! The NHL parser may need to be updated.", E_USER_WARNING); \ No newline at end of file