Update UserObserver, fix type casting

pull/5005/head
Daniel Supernault 2 years ago
parent 911446c03e
commit 949e99798e
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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…
Cancel
Save