From: hickert Date: Mon, 27 Jun 2005 07:00:44 +0000 (+0000) Subject: Fixed error -> there was no goFonMacro defined X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=778bf1b91930ac16822d88163c45796dd81a0683;p=gosa.git Fixed error -> there was no goFonMacro defined git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@863 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);