From: hickert Date: Thu, 23 Jun 2005 08:02:37 +0000 (+0000) Subject: allowed values for Parameter default are only 0,1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1ab1838fc13b271809fd3e47eac073c7991e476e;p=gosa.git allowed values for Parameter default are only 0,1 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@811 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/macro/class_gofonMacroParameters.inc b/plugins/gofon/macro/class_gofonMacroParameters.inc index d563ecfa2..5379cbc3a 100755 --- a/plugins/gofon/macro/class_gofonMacroParameters.inc +++ b/plugins/gofon/macro/class_gofonMacroParameters.inc @@ -269,7 +269,7 @@ class macroParameter extends plugin $message[] = sprintf(_("The parameter %s contains invalid char. '!,#' is used as delimiter"),$val['name']); } switch($val['type']){ - case 'bool' : $possible = array("","0","1","true","false"); + case 'bool' : $possible = array("","0","1"); if(!in_array($val['default'],$possible)) { $message[] = sprintf(_("The parameter %s has incorrect value for type bool."),$val['name']); };break;