summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-06 12:03:13 +0400
committerAndrew Dolgov <[email protected]>2013-07-06 12:03:13 +0400
commitbd207093ee9981331fb7db6a354aef0c3ce6cc50 (patch)
tree10a86e81a6686f6567d8ccaffc18f7f8ef92f11f /include
parente9687f67e0196c063536c8e7770094129a42f2ef (diff)
parentd7a27413433080124c9f54668e3962185666bab2 (diff)
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 355eec2cd..0eceed623 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3958,6 +3958,7 @@
$reg_qpart = "REGEXP";
foreach ($filter["rules"] AS $rule) {
+ $rule['reg_exp'] = str_replace('/', '\/', $rule["reg_exp"]);
$regexp_valid = preg_match('/' . $rule['reg_exp'] . '/',
$rule['reg_exp']) !== FALSE;