fix classname in default sku on products table
This commit is contained in:
parent
8e2165d991
commit
76876e04fa
|
@ -99,7 +99,7 @@ class ProductsTable extends Table
|
|||
|
||||
$this->hasOne('DefaultProductSkus', [
|
||||
'foreignKey' => 'product_id',
|
||||
'conditions' => ['PrimaryProductSkus.default_sku' => true],
|
||||
'conditions' => ['DefaultProductSkus.default_sku' => true],
|
||||
'className' => 'CakeProducts.ProductSkus',
|
||||
'dependent' => true,
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue