aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index af130578f..9540e0ed5 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -230,12 +230,12 @@ class FreshRSS_Entry extends Minz_Model {
}
if ($ok && $filter->getAuthor()) {
foreach ($filter->getAuthor() as $author) {
- $ok &= stripos($this->authors, $author) !== false;
+ $ok &= stripos(implode(';', $this->authors), $author) !== false;
}
}
if ($ok && $filter->getNotAuthor()) {
foreach ($filter->getNotAuthor() as $author) {
- $ok &= stripos($this->authors, $author) === false;
+ $ok &= stripos(implode(';', $this->authors), $author) === false;
}
}
if ($ok && $filter->getIntitle()) {