Fixing style errors.

This commit is contained in:
stickler-ci 2021-04-29 15:37:19 +00:00
parent 6aa9c35f0f
commit d5af15a102

View File

@ -202,8 +202,7 @@ if (!GETPOST('confirmmassaction', 'alpha') && $massaction != 'presend' && $massa
$parameters = array(); $parameters = array();
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
if (empty($reshook)) if (empty($reshook)) {
{
// Selection of new fields // Selection of new fields
include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php'; include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php';
@ -488,11 +487,9 @@ if ($resql) {
print '<button type="submit" class="button" name="action" value="update">'.$langs->trans("Modify").'</button>'; print '<button type="submit" class="button" name="action" value="update">'.$langs->trans("Modify").'</button>';
print '<button type="submit" class="button" name="action" value="cancel">'.$langs->trans("Cancel").'</button>'; print '<button type="submit" class="button" name="action" value="cancel">'.$langs->trans("Cancel").'</button>';
print '</td>'; print '</td>';
} } else {
else {
// date_sync // date_sync
if (!empty($arrayfields['cr.date_sync']['checked'])) if (!empty($arrayfields['cr.date_sync']['checked'])) {
{
print '<td class="tdoverflowmax200">'; print '<td class="tdoverflowmax200">';
print $obj->date_sync; print $obj->date_sync;
print "</td>\n"; print "</td>\n";
@ -500,8 +497,7 @@ if ($resql) {
} }
// code // code
if (! empty($arrayfields['m.code']['checked'])) if (! empty($arrayfields['m.code']['checked'])) {
{
print '<td class="tdoverflowmax200">'; print '<td class="tdoverflowmax200">';
print $obj->code." ".$obj->name; print $obj->code." ".$obj->name;
print "</td>\n"; print "</td>\n";
@ -510,8 +506,7 @@ if ($resql) {
} }
// rate // rate
if (! empty($arrayfields['cr.rate']['checked'])) if (! empty($arrayfields['cr.rate']['checked'])) {
{
print '<td class="tdoverflowmax200">'; print '<td class="tdoverflowmax200">';
print $obj->rate; print $obj->rate;
print "</td>\n"; print "</td>\n";