Jump to content

Configuration::updateValue to False does not work


Recommended Posts

Hello,

 

does anybody can test if this work for you?

I am trying to put false value to the configuration but it does not work:

When I do this:

Configuration::updateValue('MYNAME', True);

 

then it is work fine.

 

When I do

Configuration::updateValue('HOMESET_SWITCH', False);

 

then it is does not work. Actually it does not do anything. It does not add new configuration item.

 

I am using prestashop 1.7.4.2

 

Thanks for help.

Best Regards

 

Link to comment
Share on other sites

Hi,

 

Configuration::updateValue('MY_VALUE', 0);  // works fine
Configuration::updateValue('MY_VALUE', 1);  // works fine

OR

Configuration::updateValue('MY_VALUE', false);  // does not work
Configuration::updateValue('MY_VALUE', true);  // works fine
 

so it works for you?

Best Regards

Link to comment
Share on other sites

On 10/7/2018 at 3:59 AM, vlskrbek said:

Hi,

 

Configuration::updateValue('MY_VALUE', 0);  // works fine
Configuration::updateValue('MY_VALUE', 1);  // works fine

OR

Configuration::updateValue('MY_VALUE', false);  // does not work
Configuration::updateValue('MY_VALUE', true);  // works fine
 

so it works for you?

Best Regards

Yes

Thanks

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...