mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
Minor fixes for migration
This commit is contained in:
parent
02f3095ba5
commit
6ccaf5dad9
@ -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);
|
UpdateOrCreateProduct::dispatchNow($model->line_items, $model, $model->company);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user