Skip to content

Name length in contact form#77

Open
sh1sh1n wants to merge 4380 commits into3.0.x.xfrom
master
Open

Name length in contact form#77
sh1sh1n wants to merge 4380 commits into3.0.x.xfrom
master

Conversation

@sh1sh1n
Copy link
Copy Markdown

@sh1sh1n sh1sh1n commented Jan 11, 2022

В русском языке есть имена меньше 3 символов. Например, Ян не сможет оставить сообщение магазину.
/catalog/controller/information/contact.php
145 строка:
if ((utf8_strlen($this->request->post['name']) < 3) || (utf8_strlen($this->request->post['name']) > 32)) {
надо поменять на
if ((utf8_strlen($this->request->post['name']) < 2) || (utf8_strlen($this->request->post['name']) > 32)) {

danielkerr and others added 30 commits May 30, 2022 19:13
[Master] - Added void on addHistory() method - catalog/controller/api/sale/order.php file
[Master] - Added void on save() method - catalog/controller/checkout/register.php file
[Master] - Added void on index() method - catalog/controller/mail/order.php file
[Master] - Added void on addReport() method - catalog/model/catalog/product.php file
[Master] - Added void on addReport() method - catalog/model/account/download.php file
[Master] - Added void on remove() method - catalog/controller/checkout/voucher.php file
[Master] - Added 2 voids on two methods - catalog/model/account/gdpr.php file
[Master] - Added array on getOrders() method - catalog/model/account/order.php file
[Master] Added void on setShippingAddress() method - system/library/cart/tax.php file
[Master] - Added bool on login() method - system/library/cart/user.php file
[Master] - Added string on escape method - system/library/db/pdo.php file
[Master] - Added string on getId() method - system/library/session.php file
[Master] - Renamed fa prefixes to fas - admin/view/template/catalog/product_form.twig file
[Master] - Renamed fa prefix to fas - admin/view/template/common/header.twig file
[Master] - Renamed fa prefix to fas - admin/view/template/marketplace/marketplace_extension.twig file
[Master] - Renamed fa prefix to fas - admin/view/template/marketplace/promotion.twig file
[Master] - Renamed fa prefix to fas - admin/view/template/sale/order_info.twig file
[Master] - Renamed fa prefix to fas - extension/opencart/catalog/view/template/module/banner.twig file
[Master] - Renamed fa prefix to fas - install/view/template/install/step_2.twig file
[Master] - Renamed fa prefix to fas - install/view/template/install/step_3.twig file
[Master] - Pushed switch parentheses - extension/opencart/admin/model/report/returns.php file
[Master] - Pushed switch parentheses - extension/opencart/admin/model/report/sale.php file
danielkerr and others added 30 commits June 7, 2022 22:11
Removed empty spaces - catalog/controller/account/wishlist.php file
Removed empty spaces. JSON cond. is incomplete - extension/opencart/admin/model/payment/credit_card.php file
Removed empty spaces - catalog/controller/product/review.php file
Renamed addcomment into addComment - admin/view/template/marketplace/marketplace_info.twig file
Typo customer_approval controller
Added e.preventDefault() - admin/view/template/catalog/category.twig file
Added e.preventDefault() - admin/view/template/catalog/download_form.twig file
Added e.preventDefault() - admin/view/template/marketplace/api.twig file
Renamed payment method to comment and added agree - catalog/view/template/checkout/payment_method.twig file
Added array types on isocode2 and isocode3 methods - catalog/model/localisation/country.php file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.