1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:35:56 +00:00

force-cast some variables used in queries to integer

do not display SQL query in headlines debug mode
This commit is contained in:
Andrew Dolgov
2017-12-17 16:24:13 +03:00
parent d0cce0c7a4
commit bed2d6e054
2 changed files with 9 additions and 6 deletions

View File

@@ -2278,6 +2278,7 @@
if ($rule["cat_id"] > 0) {
$children = Feeds::getChildCategories($rule["cat_id"], $owner_uid);
array_push($children, $rule["cat_id"]);
$children = array_map("intval", $children);
$children = join(",", $children);