Skip to content
Snippets Groups Projects
Unverified Commit c2ccb23f authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4462 from aydreeihn/issue/default_from_name

Staff Profile Updates:
parents 9c52ecbd 17f430be
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,9 @@ implements AuthenticatedUser, EmailContact, TemplateVariable, Searchable { ...@@ -76,7 +76,9 @@ implements AuthenticatedUser, EmailContact, TemplateVariable, Searchable {
if (isset($this->_config[$field])) if (isset($this->_config[$field]))
return $this->_config[$field]; return $this->_config[$field];
return parent::get($field, $default); try {
return parent::get($field, $default);
} catch (Exception $e) {}
} }
function getConfig() { function getConfig() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment