Commit 75f667d0 authored by zach%zachlipton.com's avatar zach%zachlipton.com

Fix for bug 113646, midair when changing assignee gives error. Fix changes sub…

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.
parent df4dfc4c
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment