diff --git a/twitter/twitter.php b/twitter/twitter.php index 197af3f22..62b1b6a9e 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)); } } }