Skip to content

Commit

Permalink
convert string of a number to a application name
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil E. Taylor committed Jul 1, 2020
1 parent 16f284f commit 2d52cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Updater/Adapter/ExtensionAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function findUpdate($options)
{
if (isset($this->latest->client) && \strlen($this->latest->client))
{
$this->latest->client_id = ApplicationHelper::getClientInfo($this->latest->client, true)->id;
$this->latest->client_id = ApplicationHelper::getClientInfo($this->latest->client, strlen($this->latest->client) > 1)->id;

unset($this->latest->client);
}
Expand Down

0 comments on commit 2d52cc1

Please sign in to comment.