1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Fix for white label licenses

This commit is contained in:
Hillel Coren 2018-09-16 19:21:58 +03:00
parent 39442f48ce
commit 7ad72aa884

View File

@ -823,6 +823,7 @@ class BasePaymentDriver
$license->license_key = Utils::generateLicense();
$license->affiliate_id = $affiliateId;
$license->product_id = $productId;
$license->is_claimed = 0;
$license->save();
// Add the license key to the invoice content