Константа вместо числа.

This commit is contained in:
lopar 2021-08-30 01:37:45 +03:00
parent d2c8c8d7d5
commit df3bf1bf45
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}