mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-26 01:03:18 +00:00
Merge pull request #1326 from MrPetovan/bug/warnings
[twitter] Use correct variable to store application name
This commit is contained in:
commit
07a11f6920
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($application_name)) {
|
if (!empty($application_name)) {
|
||||||
DI::config()->set('twitter', 'application_name', strip_tags($result->source));
|
DI::config()->set('twitter', 'application_name', strip_tags($application_name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue