Fix phpcs
This commit is contained in:
parent
ca8dab36a3
commit
0e4c113e7f
@ -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>';
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user