/[smeserver]/rpms/perl-CGI-FormMagick/sme9/perl-CGI-FormMagick-0.93-Starter-WebPage-Error.patch
ViewVC logotype

Contents of /rpms/perl-CGI-FormMagick/sme9/perl-CGI-FormMagick-0.93-Starter-WebPage-Error.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Mar 17 02:08:54 2013 UTC (11 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_93-4_el6_sme, perl-CGI-FormMagick-0_93-3_el6_sme, perl-CGI-FormMagick-0_93-5_el6_sme, perl-CGI-FormMagick-0_93-2_el6_sme, perl-CGI-FormMagick-0_93-6_el6_sme, HEAD
* Sat Mar 16 2013 Terry Fage <trex1512@yahoo.com.au> 0.93-2
- Remove log noise from Create starter web site panel [SME: 7496]

1 diff -ruN perl-CGI-FormMagick-0.92.old/lib/CGI/FormMagick/HTML.pm perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/HTML.pm
2 --- perl-CGI-FormMagick-0.92.old/lib/CGI/FormMagick/HTML.pm 2013-03-16 18:45:52.000000000 -0700
3 +++ perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/HTML.pm 2013-03-16 18:47:50.000000000 -0700
4 @@ -300,8 +300,11 @@
5 print qq( <td class="sme-noborders-content">$inputfield</td>\n </tr>\n);
6
7 # display errors (if any) below the field label, taking up a whole row
8 - my $error = $fm->{errors}->{$info->{label}};
9 - $fm->print_field_error($error) if $error;
10 + if ($info->{label})
11 + {
12 + my $error = $fm->{errors}->{$info->{label}};
13 + $fm->print_field_error($error) if $error;
14 + }
15 }
16 }
17 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed