fixed select

This commit is contained in:
Roland Gruber 2017-01-06 10:11:29 +01:00
parent 61647ed008
commit 164433343c
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) {
} }
$exportOptions['*' . _('Global templates')][_('Global templates')] = 'templates*##'; $exportOptions['*' . _('Global templates')][_('Global templates')] = 'templates*##';
$select = new htmlSelect('exportProfiles', $exportOptions, array(), count($exportOptions) < 10 ? count($exportOptions) : 10); $select = new htmlSelect('exportProfiles', $exportOptions, array(), count($exportOptions) < 10 ? count($exportOptions, 1) : 10);
$select->setHasDescriptiveElements(true); $select->setHasDescriptiveElements(true);
$select->setContainsOptgroups(true); $select->setContainsOptgroups(true);
$select->setMultiSelect(true); $select->setMultiSelect(true);