Closed (fixed)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2013 at 18:35 UTC
Updated:
13 May 2013 at 18:40 UTC
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
Comment #1
greg.1.anderson commentedFixed 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.