Fix for bug 113646, midair when changing assignee gives error. Fix changes sub trim() in globals.pl not to use $_ so as not to conflict with $_ values allready

set.

Patch by myk@mozilla.org, r1=bbaetz, r2=dave.
This commit is contained in:
zach%zachlipton.com 2001-12-17 01:29:52 +00:00
parent ae53a4b116
commit e4ba5888ef

View File

@ -1523,10 +1523,10 @@ sub max {
# Trim whitespace from front and back.
sub trim {
($_) = (@_);
s/^\s+//g;
s/\s+$//g;
return $_;
my ($str) = @_;
$str =~ s/^\s+//g;
$str =~ s/\s+$//g;
return $str;
}
1;