diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2010-10-30 15:29:19 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-11-10 05:53:56 +1100 |
commit | 4fa24bb4be7fd73af2a25884185f91b42f73d785 (patch) | |
tree | 35a0cde889acb6b05171c0646f83edd49f370f28 /lib/puppet/util/autoload.rb | |
parent | abb8c669378af8f3551418330751aaad80b2d6c2 (diff) | |
download | puppet-4fa24bb4be7fd73af2a25884185f91b42f73d785.tar.gz puppet-4fa24bb4be7fd73af2a25884185f91b42f73d785.tar.xz puppet-4fa24bb4be7fd73af2a25884185f91b42f73d785.zip |
Fix #5127 - error when accessing array elements
Accesing an array with an integer index (ie $array[1]) is producing
a ruby error: can't convert String into Integer
This is because the array index is not properly converted to an number
before the array element lookup is performed.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions