Code

Updated gofonAccount. Closes #618
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Feb 2009 14:52:33 +0000 (14:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Feb 2009 14:52:33 +0000 (14:52 +0000)
-Fixed problem with missing mail attribute when editing gofon accounts out of the MyAccount section

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13402 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc

index acaf44f7dfad99f192388fcc4593618aac9dd929..796ff89584725ee9240ac6b72d1640dbedf6b8e2 100644 (file)
@@ -78,6 +78,7 @@ class phoneAccount extends plugin
     }
     if(isset($this->attrs['mail'][0])){
       $this->mailAddress = $this->attrs['mail'][0];
+      $this->has_mailAccount = true;
     }
     if(isset($this->attrs['pager'][0])){
       $this->pager = $this->attrs['pager'][0];