Update card.php

This commit is contained in:
Laurent Destailleur 2018-04-05 16:20:50 +02:00 committed by GitHub
parent 0c3b92f09a
commit 55719cd166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ $duration_unit = GETPOST('duration_unit');
if (! empty($user->societe_id)) $socid=$user->societe_id;
$object = new Product($db);
$object->type = $type;
$object->type = $type; // so test later to fill $usercancxxx is correct
$extrafields = new ExtraFields($db);
// fetch optionals attributes and labels