From: Hypolite Petovan Date: Sat, 3 Dec 2022 09:22:43 +0000 (-0500) Subject: [twitter] Use correct variable to store application name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e4487c4876590001007943d3e4a02431c2e79845;p=friendica-addons.git [twitter] Use correct variable to store application name - Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957 --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 197af3f2..62b1b6a9 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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)); } } }