When disabling vendor's admin it doesn't change main admin in cscart_companies

Cs-Cart Multivendor v4.17.2 SP2
We have vendor with multiple administrators. When we disable the first registered administrator, the Cs-Cart doesn’t change request_account_data BLOB field in cscart_companies where is stored the main administrator for the company. Therefore we are unable to use the function Log as a vendor. We are still able to log through enabled administrator account but it doesn’t work through company.


Data from the field request_account_data is not being used when you are using the feature “Login as vendor”.

However I’ve reproduced this issue and forwarded it to the developers.