From 164433343c4a5b5273186515d9b0b1e3917c257a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 6 Jan 2017 10:11:29 +0100 Subject: [PATCH] fixed select --- lam/templates/profedit/profilemain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);