diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php index 9297e8e3..aac6bd3c 100644 --- a/lam/templates/profedit/profilemain.php +++ b/lam/templates/profedit/profilemain.php @@ -337,7 +337,7 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) { } $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->setContainsOptgroups(true); $select->setMultiSelect(true);