pkgsrc/devel/rt3/patches/patch-share_html_Admin_CustomFields_Modify.html
2011-10-25 19:38:09 +00:00

734 B

$NetBSD: patch-share_html_Admin_CustomFields_Modify.html,v 1.1 2011/10/25 19:38:10 spz Exp $ perl 5.14 qw() in for* fixes --- share/html/Admin/CustomFields/Modify.html.orig 2011-04-14 00:32:21.000000000 +0000 +++ share/html/Admin/CustomFields/Modify.html @@ -196,7 +196,7 @@ if ( $ARGS{'Update'} && $id ne 'new' ) { # Update any existing values my $values = $CustomFieldObj->ValuesObj; while ( my $value = $values->Next ) { - foreach my $attr qw(Name Description SortOrder Category) { + foreach my $attr ( qw(Name Description SortOrder Category) ) { my $param = join("-", $paramtag, $value->Id, $attr); next unless exists $ARGS{$param}; $ARGS{$param} =~ s/^\s+//;