Merge pull request #18097 from ATM-Consulting/FIX_13.0_fatal_missing_require_once_ajax
FIX 13.0 - fatal - missing inclusion of ajax.lib.php
This commit is contained in:
commit
6bafb09837
@ -1118,6 +1118,7 @@ class Form
|
|||||||
|
|
||||||
if (!empty($conf->use_javascript_ajax) && !empty($conf->global->COMPANY_USE_SEARCH_TO_SELECT) && !$forcecombo)
|
if (!empty($conf->use_javascript_ajax) && !empty($conf->global->COMPANY_USE_SEARCH_TO_SELECT) && !$forcecombo)
|
||||||
{
|
{
|
||||||
|
require_once DOL_DOCUMENT_ROOT . '/core/lib/ajax.lib.php';
|
||||||
// No immediate load of all database
|
// No immediate load of all database
|
||||||
$placeholder = '';
|
$placeholder = '';
|
||||||
if ($selected && empty($selected_input_value))
|
if ($selected && empty($selected_input_value))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user