Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-10-31 17:11:23 +01:00
parent ca8dab36a3
commit 0e4c113e7f
2 changed files with 2 additions and 2 deletions

View File

@ -406,7 +406,7 @@ class FormTicket
}
}
if($subelement != 'project') {
if ($subelement != 'project') {
if (!empty($conf->projet->enabled) && !$this->ispublic) {
$formproject = new FormProjets($this->db);
print '<tr><td><label for="project"><span class="">'.$langs->trans("Project").'</span></label></td><td>';

View File

@ -200,7 +200,7 @@ if (empty($reshook)) {
}
// Link ticket to project
if(GETPOST('origin', 'alpha') == 'projet') {
if (GETPOST('origin', 'alpha') == 'projet') {
$projectid = GETPOST('originid', 'int');
} else {
$projectid = GETPOST('projectid', 'int');