From 5ce2aa5e28b9dfbd596b4858e3c9a9f0498d591a Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 25 Nov 2005 15:18:03 +0000 Subject: [PATCH] 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 --- plugins/admin/users/tabs_user.inc | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.30.2