Skip to content
Snippets Groups Projects
Commit 2aa1ba7e authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

VM4.2: Workaround for broken VM model

VirtueMartModelState::getStates and VirtueMartModelCountry::getCountries changes the internal cache ->_data, but does NOT modify ->_id...
The proper fix would be in VM's model classes to set the id to -1.

However, as a workaround we can call setId twice to ensure the cache is always invalidated and getData returns the proper object
parent ba590165
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment