mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13248] Correctly pass provider name
PHPBB3-13248
This commit is contained in:
parent
a9249bce5e
commit
d9c868d0f5
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class provider_collection extends \phpbb\di\service_collection
|
|||
*/
|
||||
public function get_provider($provider_name = '')
|
||||
{
|
||||
$provider_name = ($provider_name !== '') ?: basename(trim($this->config['auth_method']));
|
||||
$provider_name = ($provider_name !== '') ? $provider_name : basename(trim($this->config['auth_method']));
|
||||
if ($this->offsetExists('auth.provider.' . $provider_name))
|
||||
{
|
||||
return $this->offsetGet('auth.provider.' . $provider_name);
|
||||
|
|
Loading…
Add table
Reference in a new issue