fix classname in default sku on products table
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user