summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;