Fix syntax error

This commit is contained in:
Laurent Destailleur 2019-03-28 13:17:51 +01:00
parent c888c071e5
commit eef95a8a78

View File

@ -569,7 +569,7 @@ if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend','pre
$massactionbutton=$form->selectMassAction('', $arrayofmassactions); $massactionbutton=$form->selectMassAction('', $arrayofmassactions);
$newcardbutton=''; $newcardbutton='';
if ($user->rights->societe->creer && $contextpage != 'postlist') if ($user->rights->societe->creer && $contextpage != 'poslist')
{ {
$typefilter=''; $typefilter='';
$label='MenuNewThirdParty'; $label='MenuNewThirdParty';
@ -1002,7 +1002,7 @@ while ($i < min($num, $limit))
print '<tr class="oddeven"'; print '<tr class="oddeven"';
if ($contextpage == 'poslist') if ($contextpage == 'poslist')
{ {
print ' onclick="location.href=\'list.php?action=change&contextpage=poslist&idcustomer='.$obj->rowid.'&place='.$place.'\'">'; print ' onclick="location.href=\'list.php?action=change&contextpage=poslist&idcustomer='.$obj->rowid.'&place='.$place.'\'"';
} }
print '>'; print '>';
if (! empty($arrayfields['s.rowid']['checked'])) if (! empty($arrayfields['s.rowid']['checked']))