[twitter] Use correct variable to store application name #1326

Merged
MrPetovan merged 1 commit from bug/warnings into develop 2022-12-03 10:51:30 +01:00
Showing only changes of commit e4487c4876 - Show all commits

[twitter] Use correct variable to store application name

- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957
Hypolite Petovan 2022-12-03 04:22:43 -05:00

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