Code

Fixed undefined index
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Nov 2005 12:36:21 +0000 (12:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Nov 2005 12:36:21 +0000 (12:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1952 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/faxaccount/class_gofaxAccount.inc

index acdc7d20b571bd39698273f05a1fce873a205a42..8e29d57cb38c3dd4e477ce09d7e0c0e528cdb320 100644 (file)
@@ -706,7 +706,7 @@ class gofaxAccount extends plugin
 
       /* Check if mail account is active and correct the internal
          reference to represent the current status. */
-      if ($this->parent->by_object['mailAccount']->is_account){
+      if (isset($this->parent)&&($this->parent->by_object['mailAccount']->is_account)){
         $this->has_mailAccount= TRUE;
       }
     }