From: cajus Date: Fri, 25 Nov 2005 15:18:03 +0000 (+0000) Subject: Fixed problem with mail address transfer to fax plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ce2aa5e28b9dfbd596b4858e3c9a9f0498d591a;p=gosa.git Fixed problem with mail address transfer to fax plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2072 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/tabs_user.inc b/plugins/admin/users/tabs_user.inc index 899e12d18..9569ed396 100644 --- a/plugins/admin/users/tabs_user.inc +++ b/plugins/admin/users/tabs_user.inc @@ -27,6 +27,13 @@ class usertabs extends tabs $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; }