Merge pull request #10759 from altatof/ml
NEW : sort list of models alphabetically
This commit is contained in:
commit
8ffab05f67
@ -682,6 +682,7 @@ class FormFile
|
||||
// Model
|
||||
if (! empty($modellist))
|
||||
{
|
||||
asort($modellist);
|
||||
$out.= '<span class="hideonsmartphone">'.$langs->trans('Model').' </span>';
|
||||
if (is_array($modellist) && count($modellist) == 1) // If there is only one element
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user