parent
84699b64fe
commit
34404b4e58
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class RedditHandler
|
|||
$this->clientSecret = $authParams['client_secret'] ?? '';
|
||||
$this->username = $authParams['username'] ?? '';
|
||||
$this->password = $authParams['password'] ?? '';
|
||||
$this->userAgent = $authParams['name_app'].'/0.1 by '.$authParams['username'] ?? '';
|
||||
$this->userAgent = ($authParams['name_app'] ?? '').'/0.1 by '.($authParams['username'] ?? '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue