Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.