forked from mirror/pixelfed
Update UserObserver, fix type casting
This commit is contained in:
parent
911446c03e
commit
949e99798e
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class UserObserver
|
|||
CreateAvatar::dispatch($profile);
|
||||
});
|
||||
|
||||
if(config_cache('account.autofollow') == true) {
|
||||
if((bool) config_cache('account.autofollow') == true) {
|
||||
$names = config_cache('account.autofollow_usernames');
|
||||
$names = explode(',', $names);
|
||||
|
||||
|
|
Loading…
Reference in a new issue