Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2025-02-17 17:23:16 +01:00 committed by GitHub
parent 417f10c99d
commit 4d46197aed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11063,7 +11063,7 @@ class Form
$out = '';
$hideunselectables = false;
if (getDolGlobalString('PROJECT_HIDE_UNSELECTABLES')) {
if (getDolGlobalString('INVOICE_HIDE_UNSELECTABLES')) {
$hideunselectables = true;
}
@ -11302,7 +11302,7 @@ class Form
$out = '';
$hideunselectables = false;
if (!empty($conf->global->PROJECT_HIDE_UNSELECTABLES)) {
if (getDolGlobalString('ORDER_HIDE_UNSELECTABLES')) {
$hideunselectables = true;
}