Fix phpcs

This commit is contained in:
Laurent Destailleur
2018-03-11 23:22:55 +01:00
parent 6da3fbe3c9
commit 6ac070823f
2 changed files with 7 additions and 7 deletions

View File

@@ -774,7 +774,7 @@ class ActionsTicketsup
$message = $message_intro . $message; $message = $message_intro . $message;
// Add signature // Add signature
$message .= '<br />' . $message_signature; $message .= '<br>' . $message_signature;
if (!empty($this->dao->origin_email)) { if (!empty($this->dao->origin_email)) {
$sendto[] = $this->dao->origin_email; $sendto[] = $this->dao->origin_email;
@@ -1118,7 +1118,7 @@ class ActionsTicketsup
$userstat = new User($this->db); $userstat = new User($this->db);
$res = $userstat->fetch($arraylogs['fk_user_create']); $res = $userstat->fetch($arraylogs['fk_user_create']);
if ($res) { if ($res) {
print '<br /><small>'.$userstat->getNomUrl(1).'</small>'; print '<br><small>'.$userstat->getNomUrl(1).'</small>';
} }
} }
} }
@@ -1296,11 +1296,11 @@ class ActionsTicketsup
$userstat = new User($this->db); $userstat = new User($this->db);
$res = $userstat->fetch($arraymsgs['fk_user_action']); $res = $userstat->fetch($arraymsgs['fk_user_action']);
if ($res) { if ($res) {
print '<br />'; print '<br>';
print $userstat->getNomUrl(1); print $userstat->getNomUrl(1);
} }
} else { } else {
print '<br />'; print '<br>';
print $langs->trans('Customer'); print $langs->trans('Customer');
} }
} }
@@ -1496,7 +1496,7 @@ class ActionsTicketsup
// Sort results to be similar to status object list // Sort results to be similar to status object list
sort($exclude_status); sort($exclude_status);
//print '<br /><div>'; //print '<br><div>';
foreach ($this->dao->statuts_short as $status => $statut_label) { foreach ($this->dao->statuts_short as $status => $statut_label) {
if (!in_array($status, $exclude_status)) { if (!in_array($status, $exclude_status)) {
print '<div class="tagtd">'; print '<div class="tagtd">';
@@ -1506,7 +1506,7 @@ class ActionsTicketsup
print '</div>'; print '</div>';
} }
} }
print '</div></div><br />'; print '</div></div><br>';
} }

View File

@@ -31,7 +31,7 @@ if (empty($conf) || ! is_object($conf))
$langs = $GLOBALS['langs']; $langs = $GLOBALS['langs'];
$langs->load('ticketsup@ticketsup'); $langs->load('ticketsup@ticketsup');
$linkedObjectBlock = $GLOBALS['linkedObjectBlock']; $linkedObjectBlock = $GLOBALS['linkedObjectBlock'];
echo '<br />'; echo '<br>';
print_titre($langs->trans('RelatedTickets')); print_titre($langs->trans('RelatedTickets'));
?> ?>
<table class="noborder" width="100%"> <table class="noborder" width="100%">