Skip to content
Snippets Groups Projects
Commit 8ee35dc9 authored by Jared Hancock's avatar Jared Hancock
Browse files

fetch: Fix clobbered user on fetch, round two

Again, fix issue where multiple mails fetched in the same fetch run will set
the user of each of the mails to the user of the first email fetched.

The previous patch neglected to pass the new $cache argument through the
inherited UserForm::getFields() function.
parent a4087cd5
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,8 @@ class UserForm extends DynamicForm {
return $os->filter(array('type'=>'U'));
}
function getFields() {
$fields = parent::getFields();
function getFields($cache=true) {
$fields = parent::getFields($cache);
foreach ($fields as $f) {
if ($f->get('name') == 'email') {
$f->getConfiguration();
......
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