Fixing style errors.
This commit is contained in:
parent
d6caa057f2
commit
6ab0de145b
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user