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

oops: Fix missing association btw email address and user

parent 7737f090
No related branches found
No related tags found
No related merge requests found
...@@ -1368,6 +1368,9 @@ class InstrumentedList extends ModelInstanceManager { ...@@ -1368,6 +1368,9 @@ class InstrumentedList extends ModelInstanceManager {
$object->set($this->key, $this->id); $object->set($this->key, $this->id);
if (!$object->__new__)
$object->save();
if ($at !== false) if ($at !== false)
$this->cache[$at] = $object; $this->cache[$at] = $object;
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment