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

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));
}
}
}