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