Здравствуйте, пожалуйста помогите убрать обязательное поле "mail" при регистрации аккаунта. Возможно это сделать вообще?
Если я ввожу без почты то выдает ошибку
Fatal error: Uncaught Exception: Error: E-Mail to required! in /home/p647802/www/localhost/system/library/mail.php:119
Stack trace: #0 /home/p647802/www/localhost/catalog/controller/mail/register.php(44):
Mail->send() #1 /home/p647802/www/localhost/storage/modification/system/engine/action.php(79):
ControllerMailRegister->index('account/custome...',
Array, 2) #2 /home/p647802/www/localhost/system/engine/event.php(62):
Action->execute(Object(Registry),
Array) #3 /home/p647802/www/localhost/storage/modification/system/engine/loader.php(255):
Event->trigger('model/account/c...', Array) #4 /home/p647802/www/joflowers.uz/system/engine/proxy.php(47):
Loader->{closure}(Array, Array)
#5 /home/p647802/www/localhost/catalog/controller/account/simpleregister.php(111):
Proxy->__call('addCustomer',
Array) #6 /home/p647802/www/localhost/storage/modification/system/engine/action.php(79):
ControllerAccountSimpleRegister->index()
#7 /home/p647802/www/localhost/catalog/controller/startup/router.php(25):
Action->exec in /home/p647802/www/localhost/system/library/mail.php on line 119