filter rule saving fix

This commit is contained in:
Andrew Dolgov 2017-12-02 22:47:47 +03:00
parent 0002e598f8
commit bfccff11c4
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ class Pref_Filters extends Handler_Protected {
if ($rule) { if ($rule) {
$reg_exp = trim($rule["reg_exp"]); $reg_exp = trim($rule["reg_exp"]);
$inverse = isset($rule["inverse"]) ? true : false; $inverse = isset($rule["inverse"]) ? 1 : 0;
$filter_type = (int)trim($rule["filter_type"]); $filter_type = (int)trim($rule["filter_type"]);
$match_on = json_encode($rule["feed_id"]); $match_on = json_encode($rule["feed_id"]);