1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes for migration

This commit is contained in:
= 2021-04-28 20:25:21 +10:00
parent 02f3095ba5
commit 6ccaf5dad9

View File

@ -161,7 +161,7 @@ class InvoiceMigrationRepository extends BaseRepository
}
if ($model->company->update_products !== false) {
if ($model->company->update_products) {
UpdateOrCreateProduct::dispatchNow($model->line_items, $model, $model->company);
}
}