Commit d0724475 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 343421: Fix some typos in comments - Patch by timeless <timeless@bemail.org> r=wicked a=myk

parent f1625214
...@@ -405,7 +405,7 @@ with mod_perl ...@@ -405,7 +405,7 @@ with mod_perl
=item * =item *
Everything is in one central place, so its easy to access, modify, and maintain Everything is in one central place, so it's easy to access, modify, and maintain
=item * =item *
......
...@@ -219,7 +219,7 @@ sub get_format { ...@@ -219,7 +219,7 @@ sub get_format {
eval { eval {
$self->context->template($template); $self->context->template($template);
}; };
# This parsing may seem fragile, but its OK: # This parsing may seem fragile, but it's OK:
# http://lists.template-toolkit.org/pipermail/templates/2003-March/004370.html # http://lists.template-toolkit.org/pipermail/templates/2003-March/004370.html
# Even if it is wrong, any sort of error is going to cause a failure # Even if it is wrong, any sort of error is going to cause a failure
# eventually, so the only issue would be an incorrect error message # eventually, so the only issue would be an incorrect error message
...@@ -253,7 +253,7 @@ sub quoteUrls { ...@@ -253,7 +253,7 @@ sub quoteUrls {
# bug refs out, so we have to do replacements. # bug refs out, so we have to do replacements.
# mailto can't contain space or #, so we don't have to bother for that # mailto can't contain space or #, so we don't have to bother for that
# Do this by escaping \0 to \1\0, and replacing matches with \0\0$count\0\0 # Do this by escaping \0 to \1\0, and replacing matches with \0\0$count\0\0
# \0 is used because its unlikely to occur in the text, so the cost of # \0 is used because it's unlikely to occur in the text, so the cost of
# doing this should be very small # doing this should be very small
# Also, \0 won't appear in the value_quote'd bug title, so we don't have # Also, \0 won't appear in the value_quote'd bug title, so we don't have
# to worry about bogus substitutions from there # to worry about bogus substitutions from there
...@@ -269,7 +269,7 @@ sub quoteUrls { ...@@ -269,7 +269,7 @@ sub quoteUrls {
# if it was substituted as a bug title (since that always involve leading # if it was substituted as a bug title (since that always involve leading
# and trailing text) # and trailing text)
# Because of entities, its easier (and quicker) to do this before escaping # Because of entities, it's easier (and quicker) to do this before escaping
my @things; my @things;
my $count = 0; my $count = 0;
......
...@@ -372,7 +372,7 @@ if (((defined $cgi->param('id') && $cgi->param('product') ne $oldproduct) ...@@ -372,7 +372,7 @@ if (((defined $cgi->param('id') && $cgi->param('product') ne $oldproduct)
$vars->{'verify_fields'} = 1; $vars->{'verify_fields'} = 1;
my %defaults; my %defaults;
# We set the defaults to these fields to the old value, # We set the defaults to these fields to the old value,
# if its a valid option, otherwise we use the default where # if it's a valid option, otherwise we use the default where
# that's appropriate # that's appropriate
$vars->{'versions'} = \@version_names; $vars->{'versions'} = \@version_names;
if ($vok) { if ($vok) {
...@@ -664,7 +664,7 @@ sub ChangeStatus { ...@@ -664,7 +664,7 @@ sub ChangeStatus {
# - leave it as it was # - leave it as it was
# This is valid only because 'reopen' is the only thing which moves # This is valid only because 'reopen' is the only thing which moves
# from closed to open, and its handled above # from closed to open, and it's handled above
# This also relies on the fact that confirming and accepting have # This also relies on the fact that confirming and accepting have
# already called DoConfirm before this is called # already called DoConfirm before this is called
...@@ -752,7 +752,7 @@ foreach my $group (@$groups) { ...@@ -752,7 +752,7 @@ foreach my $group (@$groups) {
# (eg product groups when listing more than one product) # (eg product groups when listing more than one product)
# Only consider groups which were present on the form. We can't do this # Only consider groups which were present on the form. We can't do this
# for single bug changes because non-checked checkboxes aren't present. # for single bug changes because non-checked checkboxes aren't present.
# All the checkboxes should be shown in that case, though, so its not # All the checkboxes should be shown in that case, though, so it isn't
# an issue there # an issue there
if (defined $cgi->param('id') || defined $cgi->param("bit-$b")) { if (defined $cgi->param('id') || defined $cgi->param("bit-$b")) {
if (!$cgi->param("bit-$b")) { if (!$cgi->param("bit-$b")) {
...@@ -1020,7 +1020,7 @@ SWITCH: for ($cgi->param('knob')) { ...@@ -1020,7 +1020,7 @@ SWITCH: for ($cgi->param('knob')) {
last SWITCH; last SWITCH;
}; };
/^(resolve|change_resolution)$/ && CheckonComment( "resolve" ) && do { /^(resolve|change_resolution)$/ && CheckonComment( "resolve" ) && do {
# Check here, because its the only place we require the resolution # Check here, because it's the only place we require the resolution
check_field('resolution', scalar $cgi->param('resolution'), check_field('resolution', scalar $cgi->param('resolution'),
Bugzilla::Bug->settable_resolutions); Bugzilla::Bug->settable_resolutions);
......
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