RT #29800: converting the DID range from numeric to string to maintain leading zeroes
authorAlex Brelsfoard <alex@freeside.biz>
Sat, 31 Jan 2015 23:54:47 +0000 (18:54 -0500)
committerAlex Brelsfoard <alex@freeside.biz>
Sat, 31 Jan 2015 23:54:47 +0000 (18:54 -0500)
httemplate/edit/process/bulk-svc_phone.html

index 5a1fbc6..db486de 100644 (file)
@@ -25,7 +25,7 @@ my $num_avail = $1;
 errorpage("There are only $num_avail available")
   if $end - $start + 1 > $num_avail;
 
-foreach my $phonenum ( $start .. $end ) {
+foreach my $phonenum ( "$start" .. "$end" ) {
 
   my $svc_phone = new FS::svc_phone {
     'phonenum' => $phonenum,