Commit 5fe0e4df authored by Penny Leach's avatar Penny Leach
Browse files

tiny bug fix in base auth class __get overrider

it was using string 'name' rather than $name when fetching config
parent 9688bb4d
......@@ -128,9 +128,8 @@ abstract class Auth {
if (in_array($name, $approved_members)) {
return $this->{$name};
if (isset($this->config['name'])) {
return $this->config['name'];
if (isset($this->config[$name])) {
return $this->config[$name];
return null;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment