Merge pull request #1326 from MrPetovan/bug/warnings

[twitter] Use correct variable to store application name
This commit is contained in:
Michael Vogel 2022-12-03 10:51:30 +01:00 committed by GitHub
commit 07a11f6920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -882,7 +882,7 @@ function twitter_post_hook(App $a, array &$b)
}
if (!empty($application_name)) {
DI::config()->set('twitter', 'application_name', strip_tags($result->source));
DI::config()->set('twitter', 'application_name', strip_tags($application_name));
}
}
}