1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 06:51:29 +00:00

updated mysql schema

This commit is contained in:
Andrew Dolgov
2005-09-07 13:42:49 +01:00
parent b6eefba52b
commit 4b3dff6ed5
4 changed files with 22 additions and 28 deletions

View File

@@ -115,14 +115,14 @@
$filters = array();
$result = db_query($link, "SELECT regexp,
$result = db_query($link, "SELECT reg_exp,
(SELECT name FROM ttrss_filter_types
WHERE id = filter_type) as name
FROM ttrss_filters");
while ($line = db_fetch_assoc($result)) {
if (!$filters[$line["name"]]) $filters[$line["name"]] = array();
array_push($filters[$line["name"]], $line["regexp"]);
array_push($filters[$line["name"]], $line["reg_exp"]);
}
foreach ($rss->items as $item) {