-
-
Save kdes70/116a0ea63f0132efdfde9d44a8b1a886 to your computer and use it in GitHub Desktop.
1-28598 Admin Panel: Product: Features: Options: У товара на вкладке "Features" и "Options" варианты отображаются на языке панели администратора
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/controllers/backend/product_features.php b/app/controllers/backend/product_features.php | |
index 5cf1890e40e..beff7bf1b61 100644 | |
--- a/app/controllers/backend/product_features.php | |
+++ b/app/controllers/backend/product_features.php | |
@@ -462,7 +462,7 @@ static function () use ($group_id, $feature_id) { | |
$page_number = isset($_REQUEST['page']) ? (int) $_REQUEST['page'] : 1; | |
$page_size = isset($_REQUEST['page_size']) ? (int) $_REQUEST['page_size'] : 10; | |
$search_query = isset($_REQUEST['q']) ? $_REQUEST['q'] : null; | |
- $lang_code = isset($_REQUEST['lang_code']) ? $_REQUEST['lang_code'] : CART_LANGUAGE; | |
+ $lang_code = isset($_REQUEST['lang_code']) ? $_REQUEST['lang_code'] : DESCR_SL; | |
$search = [ | |
'page' => $page_number, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/controllers/backend/product_options.php b/app/controllers/backend/product_options.php | |
index 016acf35c6a..c7c56310fbb 100644 | |
--- a/app/controllers/backend/product_options.php | |
+++ b/app/controllers/backend/product_options.php | |
@@ -335,7 +335,7 @@ | |
$page_number = isset($_REQUEST['page']) ? (int) $_REQUEST['page'] : 1; | |
$page_size = isset($_REQUEST['page_size']) ? (int) $_REQUEST['page_size'] : 10; | |
$search_query = isset($_REQUEST['q']) ? $_REQUEST['q'] : null; | |
- $lang_code = isset($_REQUEST['lang_code']) ? $_REQUEST['lang_code'] : CART_LANGUAGE; | |
+ $lang_code = isset($_REQUEST['lang_code']) ? $_REQUEST['lang_code'] : DESCR_SL; | |
$search = [ | |
'page' => $page_number, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment