summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclasses/feeds.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 68619302f..e95599b85 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -2458,6 +2458,9 @@ class Feeds extends Handler_Protected {
PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_HEADLINES_CUSTOM_SORT_OVERRIDE,
function ($result) use (&$query, &$skip_first_id) {
list ($query, $skip_first_id) = $result;
+
+ // run until first hard match
+ return !empty($query);
},
$order);