From 83ecf933f91dc9da55e1c5b5771f0e40155e6767 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 12 Jul 2005 11:58:27 +0000 Subject: [PATCH] Fixed small bug. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@949 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/macro/class_gofonMacroParameters.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'])){ -- 2.30.2