Fixing style errors.

This commit is contained in:
stickler-ci 2021-04-13 08:33:57 +00:00
parent d6caa057f2
commit 6ab0de145b

View File

@ -617,8 +617,7 @@ if ($action == 'create' && $user->rights->projet->creer)
{
print $form->selectarray('public', $array, GETPOSTISSET('public') ? GETPOST('public') : $object->public, 0, 0, 0, '', 0, 0, 0, '', '', 1);
}
else
{
else {
print '<input type="hidden" name="public" id="public" value="'.(GETPOSTISSET('public') ? GETPOST('public') : $object->public).'">';
if ( (GETPOSTISSET('public') ? GETPOST('public') : $object->public)==0) print $langs->trans("PrivateProject");
@ -902,8 +901,7 @@ if ($action == 'create' && $user->rights->projet->creer)
{
print $form->selectarray('public', $array, $object->public, 0, 0, 0, '', 0, 0, 0, '', '', 1);
}
else
{
else {
print '<input type="hidden" id="public" name="public" value="'.$object->public.'">';
if ($object->public==0) print $langs->trans("PrivateProject");