Index: /freepbx/trunk/amp_conf/htdocs/admin/helpers/freepbx_helpers.php =================================================================== --- /freepbx/trunk/amp_conf/htdocs/admin/helpers/freepbx_helpers.php (revision 12167) +++ /freepbx/trunk/amp_conf/htdocs/admin/helpers/freepbx_helpers.php (revision 12276) @@ -36,5 +36,5 @@ * */ -function drawselects($goto,$i,$show_custom=false, $table=true, $nodest_msg='') { +function drawselects($goto,$i,$show_custom=false, $table=true, $nodest_msg='', $required = true) { global $tabindex, $active_modules, $drawselect_destinations, $drawselects_module_hash; $html=$destmod=$errorclass=$errorstyle=''; @@ -90,5 +90,6 @@ //draw "parent" select box $style=' style="'.(($destmod=='Error')?'background-color:red;':'background-color:white;').'"'; - $html.='';//html5 validation $html.=''; foreach($drawselects_module_hash as $mod => $disc){