From d03d000da1c4f700b0c9a59a38ed7c7e6833aa28 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 16 Nov 2005 12:36:21 +0000 Subject: [PATCH] Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1952 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofax/faxaccount/class_gofaxAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index acdc7d20b..8e29d57cb 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -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; } } -- 2.30.2