We should only set variables as 'integer' types if their value is in fact integral.

Reported on Stack Exchange: http://drupal.stackexchange.com/questions/71587/how-do-i-drush-vset-a-nu...

Comments

greg.1.anderson’s picture

Status: Active » Fixed

Fixed in 0b040e0.

I recommend against backporting to 7.x-5.x. While this is a bug fix, it could change behavior in a way that broke people (e.g. scripts that set a variable to an integer value with junk after it).

If maintaining compatibility with folks' bugs that depend on Drush bugs is not an issue, then this could be backported.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.