1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:15:56 +00:00

pref-filters: add some sql checks

This commit is contained in:
Andrew Dolgov
2010-11-18 23:09:55 +03:00
parent a83280194a
commit 42623d7f65

View File

@@ -61,6 +61,7 @@
db_escape_string($line["action_param"])."' AND
owner_uid = " . $_SESSION["uid"]);
if (db_num_rows($tmp_result) != 0) {
$fg_color = db_fetch_result($tmp_result, 0, "fg_color");
$bg_color = db_fetch_result($tmp_result, 0, "bg_color");
@@ -69,6 +70,7 @@
$line['action_param'] = $tmp;
}
}
}
$filter = array();
$filter['id'] = 'FILTER:' . $line['id'];