diff --git a/plugins/gofon/macro/class_gofonMacroParameters.inc b/plugins/gofon/macro/class_gofonMacroParameters.inc
index d563ecfa2ada185f88e53f26ab389ba820f5ae0f..3aaa420f37ded51e8c64c6fdb73fda37e5f196ac 100755 (executable)
}
/*generate Table which shows als parameters */
-
$FonParas = $this->check_paras($content,$this->goFonMacroParameter);
+ /* Sort by Parameterid, and keep keys */
+ ksort($FonParas);
+
foreach($FonParas as $key=>$para) {
/* Select correct item of combobox */
$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;