stickler
This commit is contained in:
parent
d423e47d3b
commit
c8f55907eb
@ -8799,9 +8799,9 @@ class Form
|
|||||||
// Use select2 selector
|
// Use select2 selector
|
||||||
if (!empty($conf->use_javascript_ajax)) {
|
if (!empty($conf->use_javascript_ajax)) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
|
||||||
$comboenhancement = ajax_combobox($htmlname, '', 0, $forcefocus);
|
$comboenhancement = ajax_combobox($htmlname, '', 0, $forcefocus);
|
||||||
$out .= $comboenhancement;
|
$out .= $comboenhancement;
|
||||||
$morecss = 'minwidth200imp maxwidth500';
|
$morecss = 'minwidth200imp maxwidth500';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($option_only)) {
|
if (empty($option_only)) {
|
||||||
|
|||||||
@ -565,11 +565,9 @@ if ($action == 'confirm_generateinter') {
|
|||||||
|
|
||||||
if ($interToUse) {
|
if ($interToUse) {
|
||||||
$tmpinter->fetch($interToUse);
|
$tmpinter->fetch($interToUse);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$result = $tmpinter->create($user);
|
$result = $tmpinter->create($user);
|
||||||
if ($result <= 0)
|
if ($result <= 0) {
|
||||||
{
|
|
||||||
$error++;
|
$error++;
|
||||||
setEventMessages($tmpinter->error, $tmpinter->errors, 'errors');
|
setEventMessages($tmpinter->error, $tmpinter->errors, 'errors');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user