From e4487c4876590001007943d3e4a02431c2e79845 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 3 Dec 2022 04:22:43 -0500 Subject: [PATCH] [twitter] Use correct variable to store application name - Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957 --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } }