Merge pull request #14930 from FHenry/develop

fix bad test syntax
This commit is contained in:
Laurent Destailleur 2020-10-09 13:59:27 +02:00 committed by GitHub
commit 5b4c32ff84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1290,7 +1290,7 @@ if ($id > 0 || !empty($ref)) {
print '</td>';
}
if ($action != 'editline' ||  && $lineid != $objp->dispatchlineid)
if ($action != 'editline' || $lineid != $objp->dispatchlineid)
{
print '<td class="linecoledit center">';
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;action=editline&amp;lineid=' . $objp->dispatchlineid .'#line_'. $objp->dispatchlineid . '">';