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) {
|
if (!empty($conf->projet->enabled) && !$this->ispublic) {
|
||||||
$formproject = new FormProjets($this->db);
|
$formproject = new FormProjets($this->db);
|
||||||
print '<tr><td><label for="project"><span class="">'.$langs->trans("Project").'</span></label></td><td>';
|
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
|
// Link ticket to project
|
||||||
if(GETPOST('origin', 'alpha') == 'projet') {
|
if (GETPOST('origin', 'alpha') == 'projet') {
|
||||||
$projectid = GETPOST('originid', 'int');
|
$projectid = GETPOST('originid', 'int');
|
||||||
} else {
|
} else {
|
||||||
$projectid = GETPOST('projectid', 'int');
|
$projectid = GETPOST('projectid', 'int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user