From 778bf1b91930ac16822d88163c45796dd81a0683 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Jun 2005 07:00:44 +0000 Subject: [PATCH] Fixed error -> there was no goFonMacro defined git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@863 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/phoneaccount/class_phoneAccount.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 0181f5763..8b7fdca06 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -511,6 +511,9 @@ class phoneAccount extends plugin } unset($this->attrs['macro']) ; + if($this->attrs['goFonMacro']==""){ + $this->attrs['goFonMacro']=array(); + } /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); $ldap->cd($this->dn); -- 2.30.2