Fixing style errors.
This commit is contained in:
parent
938092d67c
commit
e94c560e82
@ -1316,7 +1316,6 @@ if (!$error && ($massaction == 'delete' || ($action == 'delete' && $confirm == '
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($result <= 0) {
|
if ($result <= 0) {
|
||||||
|
|
||||||
$TMsg = array_merge($objecttmp->errors, $TMsg);
|
$TMsg = array_merge($objecttmp->errors, $TMsg);
|
||||||
$error++;
|
$error++;
|
||||||
} else {
|
} else {
|
||||||
@ -1332,7 +1331,7 @@ if (!$error && ($massaction == 'delete' || ($action == 'delete' && $confirm == '
|
|||||||
// Message for elements well deleted
|
// Message for elements well deleted
|
||||||
if ($nbok > 1) {
|
if ($nbok > 1) {
|
||||||
setEventMessages($langs->trans("RecordsDeleted", $nbok), null, 'mesgs');
|
setEventMessages($langs->trans("RecordsDeleted", $nbok), null, 'mesgs');
|
||||||
} elseif(!empty($nbok)) {
|
} elseif (!empty($nbok)) {
|
||||||
setEventMessages($langs->trans("RecordsDeleted", '1'), null, 'mesgs');
|
setEventMessages($langs->trans("RecordsDeleted", '1'), null, 'mesgs');
|
||||||
}
|
}
|
||||||
$db->commit();
|
$db->commit();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user