mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
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