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
ce199565f4
commit
ddda4b90b4
@ -14,7 +14,7 @@ class ProductTransformer extends BaseTransformer
|
|||||||
*/
|
*/
|
||||||
public function transform($data)
|
public function transform($data)
|
||||||
{
|
{
|
||||||
if (empty($data->product_key) || $this->hasProduct($data->product_key)) {
|
if (empty($data->product_key)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user