Merge pull request #1326 from MrPetovan/bug/warnings
[twitter] Use correct variable to store application name
This commit is contained in:
commit
07a11f6920
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user