mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 11:38:34 -04:00
Fix action filter when filtering on author (#2863)
#fix https://github.com/FreshRSS/FreshRSS/issues/2806 Bug: array instead of string
This commit is contained in:
1 parent
cedbbff582
commit
be582713fe
1 file changed
+2
-2
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user