mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Fix various code.
This commit is contained in:
@@ -39,7 +39,7 @@ class ReturnsAvailableChannels
|
||||
if ('owner' === $type) {
|
||||
return self::returnOwnerChannels();
|
||||
}
|
||||
if ('user' === $type && null !== $user) {
|
||||
if ('user' === $type && $user instanceof User) {
|
||||
return self::returnUserChannels($user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user