index 899e12d18a1acb7f42e7e44bb7fb36e4578a2ada..9569ed3969e3e613fabc64ea47d98c27aa8bab7f 100644 (file)
$this->by_object[$name]= $obj;
}
+ /* Copy mail if needed */
+ if ($name == "gofaxAccount"){
+ if (isset($this->by_object['mailAccount']) && $this->by_object['mailAccount']->is_account){
+ $obj->mail= $this->by_object['mailAccount']->mail;
+ }
+ }
+
/* Update parent in base object */
$this->by_object['user']->parent= &$this;
}