Fixing style errors.

This commit is contained in:
stickler-ci 2021-08-16 11:22:49 +00:00
parent 9f1ced1fd0
commit af1f29bb16

View File

@ -1187,7 +1187,7 @@ if ($action == 'create') {
print img_picto('', 'project', 'class="pictofixedwidth"');
print $formproject->select_projects((!empty($societe->id) ? $societe->id : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx');
//duplicating test from line above to remove PHP8 warning
//duplicating test from line above to remove PHP8 warning
print '&nbsp;<a href="'.DOL_URL_ROOT.'/projet/card.php?socid='.(!empty($societe->id) ? $societe->id: -1).'&action=create&amp;backtopage='.urlencode($_SERVER["PHP_SELF"].'?action=create').'">';
print '<span class="fa fa-plus-circle valignmiddle paddingleft" title="'.$langs->trans("AddProject").'"></span></a>';
$urloption = '?action=create&donotclearsession=1';