From: janw Date: Tue, 12 Jul 2005 11:58:27 +0000 (+0000) Subject: Fixed small bug. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83ecf933f91dc9da55e1c5b5771f0e40155e6767;p=gosa.git Fixed small bug. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@949 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/macro/class_gofonMacroParameters.inc b/plugins/gofon/macro/class_gofonMacroParameters.inc index d39db5f92..dd2c2be08 100755 --- a/plugins/gofon/macro/class_gofonMacroParameters.inc +++ b/plugins/gofon/macro/class_gofonMacroParameters.inc @@ -63,7 +63,10 @@ class macroParameter extends plugin } /* initialising macro parameter */ - unset($this->attrs['goFonMacroParameter']['count']); + if(isset($this->attrs['goFonMacroParameter']) && + isset($this->attrs['goFonMacroParameter']['count'])){ + unset($this->attrs['goFonMacroParameter']['count']); + } /* Set Parameters, or a new array if ther are no parameters */ if(isset($this->attrs['goFonMacroParameter'])){