diff options
author | anoy <anoymouserver@users.noreply.github.com> | 2020-12-23 16:59:54 +0100 |
---|---|---|
committer | anoy <anoymouserver@users.noreply.github.com> | 2020-12-23 17:32:26 +0100 |
commit | d1c50b8e77e180db50b94cfdbc5c8b01495636ba (patch) | |
tree | ac74be607f8a3a5ef42bf8dd643db5467d9e0634 /lib | |
parent | d542cf5376ca5869d19aa45849428354596d74d2 (diff) |
fix FeedMapper find exception
Exception: Argument 2 passed to OCA\News\Db\FeedMapper::find() must be of the type int, string given
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Db/FeedMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/FeedMapper.php b/lib/Db/FeedMapper.php index 193cf1f5d..cf12c4dfa 100644 --- a/lib/Db/FeedMapper.php +++ b/lib/Db/FeedMapper.php @@ -197,6 +197,6 @@ class FeedMapper extends NewsMapper public function findFromUser(string $userId, int $id): Entity { - return $this->find($id, $userId); + return $this->find($userId, $id); } } |