Jump to content

Adding values to Configuration_lang not working anymore in RC3?


Andrej Stas

Recommended Posts

This is a simplified code in my plugin:

 

$languages = Language::getLanguages(false);

 

$block_name = [];
 
            foreach ($languages as $lang) {
                $block_name['MY_VALUE'][(int)$lang['id_lang']] = 'some value';
                Configuration::updateValue('MY_VALUE', $block_name['MY_VALUE']);
            }
 
This was working well until RC2, now the value (MY_VALUE) in multiple languages is not saved in configuration_lang table anymore.
 
Is there a problem with my code or in Prestashop RC3?
 
Thank you
Edited by Andrej Stas (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...