diff options
author | Taijian | 2019-04-16 15:45:31 +0200 |
---|---|---|
committer | Taijian | 2019-04-16 15:45:31 +0200 |
commit | 7efb7498335f312df7fa923b48126499c8f034f7 (patch) | |
tree | 7bc4110d413136b9a6b7f4f6aae90d988366a873 /002-mythweb.patch | |
parent | f62410011cb92a9452b635771e20645b542f278c (diff) | |
download | aur-7efb7498335f312df7fa923b48126499c8f034f7.tar.gz |
add some new patches queued for 30.1
Diffstat (limited to '002-mythweb.patch')
-rw-r--r-- | 002-mythweb.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/002-mythweb.patch b/002-mythweb.patch new file mode 100644 index 000000000000..bf3babfac4dd --- /dev/null +++ b/002-mythweb.patch @@ -0,0 +1,36 @@ +diff --git a/modules/tv/search.php b/modules/tv/search.php
+index 468b3422..3fe893c7 100644
+--- a/modules/tv/search.php
++++ b/modules/tv/search.php
+@@ -344,7 +344,7 @@
+ case 'Recorded':
+ case 'NeverRecord':
+ unset($Results[$key]);
+- continue;
++ break;
+ }
+ }
+ }
+@@ -358,7 +358,7 @@
+ case 'EarlierShowing':
+ case 'LaterShowing':
+ unset($Results[$key]);
+- continue;
++ break;
+ }
+ }
+ }
+@@ -457,11 +457,11 @@
+ case 'both':
+ return $db->escape($value);
+ case 'start':
+- return $db->escape(preg_replace('/[\\s-_]+/', '%', $value).'%');
++ return $db->escape(preg_replace('/[\\s_-]+/', '%', $value).'%');
+ case 'end':
+- return $db->escape('%'.preg_replace('/[\\s-_]+/', '%', $value));
++ return $db->escape('%'.preg_replace('/[\\s_-]+/', '%', $value));
+ default:
+- return $db->escape('%'.preg_replace('/[\\s-_]+/', '%', $value).'%');
++ return $db->escape('%'.preg_replace('/[\\s_-]+/', '%', $value).'%');
+ }
+ }
|