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

Annotation of /rpms/perl-CGI-FormMagick/sme10/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 - (hide annotations) (download)
Thu Feb 4 13:06:40 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_93-8_el7_sme, perl-CGI-FormMagick-0_93-5_el7_sme, perl-CGI-FormMagick-0_93-6_el7_sme, perl-CGI-FormMagick-0_93-3_el7_sme, perl-CGI-FormMagick-0_93-7_el7_sme, perl-CGI-FormMagick-0_93-2_el7_sme, HEAD
sme10 branch

1 vip-ire 1.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