summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-08-29 09:12:05 +0400
committerAndrew Dolgov <[email protected]>2013-08-29 09:12:05 +0400
commit5d4d59182655378970e720aa4f8ce8195e7856f0 (patch)
tree62bf282b0e001e1998df82b23a980a0b0ac97f99 /include
parentd2d6c8dbb28d48df1f6397e8ee6bc59c67be86da (diff)
filter testing: exclude archived articles because filtering on them makes no sense
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index f447d06f5..9389e99f0 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -4058,6 +4058,8 @@
$qpart .= " AND $cat_qpart";
}
+ $qpart .= " AND feed_id IS NOT NULL";
+
array_push($query, "($qpart)");
}