Update card.php

This commit is contained in:
Laurent Destailleur 2020-10-02 13:46:44 +02:00 committed by GitHub
parent 4707ea2a27
commit d297e0b05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2362,8 +2362,7 @@ if ($action == 'create')
// Form to add new line // Form to add new line
if ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines') if ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines')
{ {
if ($action != 'editline') if ($action != 'editline') {
{
// Add products/services form // Add products/services form
$object->formAddObjectLine(1, $mysoc, $soc); $object->formAddObjectLine(1, $mysoc, $soc);