2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Frédéric FRANCE
2024-10-17 08:34:08 +02:00
parent 324fe1e7a7
commit c23f06d5db
2 changed files with 2 additions and 2 deletions

View File

@@ -7836,7 +7836,7 @@ abstract class CommonObject
} else {
$sql .= " ORDER BY ".$this->db->sanitize(implode(', ', $fields_label));
}
$sql .= ' LIMIT ' . getDolGlobalString('MAIN_EXTRAFIELDS_LIMIT_SELLIST_SQL', 1000);
$sql .= ' LIMIT ' . getDolGlobalInt('MAIN_EXTRAFIELDS_LIMIT_SELLIST_SQL', 1000);
// print $sql;
dol_syslog(get_class($this) . '::showInputField type=sellist', LOG_DEBUG);

View File

@@ -1499,7 +1499,7 @@ class ExtraFields
$sql .= $sqlwhere;
$sql .= ' ORDER BY '.implode(', ', $fields_label);
$sql .= ' LIMIT ' . getDolGlobalString('MAIN_EXTRAFIELDS_LIMIT_SELLIST_SQL', 1000);
$sql .= ' LIMIT ' . getDolGlobalInt('MAIN_EXTRAFIELDS_LIMIT_SELLIST_SQL', 1000);
// print $sql;
dol_syslog(get_class($this).'::showInputField type=sellist', LOG_DEBUG);