Commit 24965761 authored by michaelfavia's avatar michaelfavia Committed by fago

Issue #2202641 by michaelfavia: Entity node wrapper unable to set() author to anonymous user.

parent 773a5d57
......@@ -758,7 +758,7 @@ class EntityDrupalWrapper extends EntityStructureWrapper {
elseif ($this->id === FALSE && !$this->data) {
$this->updateParent(NULL);
}
elseif ($previous_id != $this->id) {
elseif ($previous_id !== $this->id) {
$this->updateParent($this->id);
}
return $this;
......
Markdown is supported
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