summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mre/patch.diff
diff options
context:
space:
mode:
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