Usunięcie nieużywanych plików konfiguracyjnych i CSS z menedżera plików oraz uproszczenie przetwarzania wartości w klasach ShopProduct, Settings, Users, ShopPromotion, ShopCoupon, ShopProductSets i Dictionaries.
This commit is contained in:
@@ -1108,11 +1108,12 @@ class ShopProduct
|
||||
{
|
||||
$order = self::max_order() + 1;
|
||||
|
||||
$mdb -> insert('pp_shop_products_categories', [
|
||||
'product_id' => (int) $product_id,
|
||||
'category_id' => (int) $category,
|
||||
'o' => (int) $order,
|
||||
]);
|
||||
if ( $product_id and $category )
|
||||
$mdb -> insert( 'pp_shop_products_categories', [
|
||||
'product_id' => (int)$product_id,
|
||||
'category_id' => (int)$category,
|
||||
'o' => (int) $order,
|
||||
] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user