Константа вместо числа.
This commit is contained in:
parent
d2c8c8d7d5
commit
df3bf1bf45
2
shop.php
2
shop.php
@ -13,7 +13,7 @@ if (!empty($_GET['otdel'])) {
|
||||
if ($_GET['otdel'] !== 'sale') {
|
||||
Shop::$current->categoryType = $_GET['otdel'];
|
||||
} else {
|
||||
Shop::$current->categoryType = -1;
|
||||
Shop::$current->categoryType = Shop::CATEGORY_SALE_ITEMS;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user