summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-02 16:15:04 +0300
committerAndrew Dolgov <[email protected]>2021-03-02 16:15:04 +0300
commit9f29973eb30ddba41246135781921a5ac2344b8d (patch)
treef207980a1838e8da83b1442fff2f28b5f9faa11a
parentebb25b506dc00cdef27f97f77269fdd212acf9cc (diff)
fix typo
-rwxr-xr-xinit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.php b/init.php
index 3f0aaea..f11f5d4 100755
--- a/init.php
+++ b/init.php
@@ -56,7 +56,7 @@ class Reddit_Delay extends Plugin {
$entries = ORM::for_table('ttrss_plugin_reddit_delay_cache')
->where('feed_id', $feed_id)
->where_raw("(orig_ts < NOW() - INTERVAL '$delay hours')")
- ->find_one();
+ ->find_many();
$target = $xpath->query("//atom:feed")->item(0);