summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/textradius.pm
diff options
context:
space:
mode:
authorivan <ivan>2002-07-01 22:38:21 +0000
committerivan <ivan>2002-07-01 22:38:21 +0000
commit3b7715909d2f2983a077ff97ff66faac40cb9558 (patch)
tree9c818c9372eb04575d29509963367178ddf3bc69 /FS/FS/part_export/textradius.pm
parent6f8f8741b105fdc1fc005536e6ee0acbd5783793 (diff)
prevent any possible infinite looping
Diffstat (limited to 'FS/FS/part_export/textradius.pm')
-rw-r--r--FS/FS/part_export/textradius.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/textradius.pm b/FS/FS/part_export/textradius.pm
index 691753f..de0158b 100644
--- a/FS/FS/part_export/textradius.pm
+++ b/FS/FS/part_export/textradius.pm
@@ -55,7 +55,7 @@ sub textradius_insert { #subroutine, not method
#silly arg processing
my($att, @check);
- push @check, $att while ($att=shift @attributes) ne '-';
+ push @check, $att while @attributes && ($att=shift @attributes) ne '-';
my %check = @check;
my %reply = @attributes;