mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
NEW users can set their own length for short lists
This commit is contained in:
@@ -1373,7 +1373,7 @@ class FormOther
|
||||
$boxlista .= "\n<!-- Box left container -->\n";
|
||||
|
||||
// Define $box_max_lines
|
||||
$box_max_lines = getDolGlobalInt('MAIN_SIZE_SHORTLIST_LIMIT', 6);
|
||||
$box_max_lines = getDolUserInt('MAIN_SIZE_SHORTLIST_LIMIT', getDolGlobalInt('MAIN_SIZE_SHORTLIST_LIMIT', 5));
|
||||
|
||||
$ii = 0;
|
||||
foreach ($boxactivated as $key => $box) {
|
||||
|
||||
Reference in New Issue
Block a user