Fix undef vars 5
To remove PHP8 warnings
This commit is contained in:
parent
628bfc9963
commit
8c99291638
@ -1397,7 +1397,7 @@ class Form
|
|||||||
if ($resql) {
|
if ($resql) {
|
||||||
if (!$forcecombo) {
|
if (!$forcecombo) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
|
||||||
$out .= ajax_combobox($htmlname, $events, $conf->global->COMPANY_USE_SEARCH_TO_SELECT);
|
$out .= ajax_combobox($htmlname, $events, getDolGlobalString("COMPANY_USE_SEARCH_TO_SELECT"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Construct $out and $outarray
|
// Construct $out and $outarray
|
||||||
@ -1678,7 +1678,7 @@ class Form
|
|||||||
|
|
||||||
if ($conf->use_javascript_ajax && !$forcecombo && !$options_only) {
|
if ($conf->use_javascript_ajax && !$forcecombo && !$options_only) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
|
||||||
$out .= ajax_combobox($htmlid, $events, $conf->global->CONTACT_USE_SEARCH_TO_SELECT);
|
$out .= ajax_combobox($htmlid, $events, getDolGlobalString("CONTACT_USE_SEARCH_TO_SELECT"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($htmlname != 'none' && !$options_only) {
|
if ($htmlname != 'none' && !$options_only) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user