mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Don't prevent importing duplicate products
This commit is contained in:
parent
655da01338
commit
4ed44be7a9
@ -14,7 +14,7 @@ class ProductTransformer extends BaseTransformer
|
||||
*/
|
||||
public function transform($data)
|
||||
{
|
||||
if (empty($data->product_key) || $this->hasProduct($data->product_key)) {
|
||||
if (empty($data->product_key)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user