Skip to content
Snippets Groups Projects
Commit 17f430be authored by aydreeihn's avatar aydreeihn
Browse files

Staff Profile Updates:

This commit fixes an issue where the ORM was trying to get invalid Staff fields (which we actually store in the config table), therefore throwing an error.
parent 6626cc4b
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,9 @@ implements AuthenticatedUser, EmailContact, TemplateVariable, Searchable {
if (isset($this->_config[$field]))
return $this->_config[$field];
return parent::get($field, $default);
try {
return parent::get($field, $default);
} catch (Exception $e) {}
}
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