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

Annotation of /rpms/perl-CGI-FormMagick/sme8/perl-CGI-FormMagick-0.92-Starter-WebPage-Error.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Mar 17 02:00:37 2013 UTC (11 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-22_el5_sme, perl-CGI-FormMagick-0_92-23_el5_sme, HEAD
* Sat Mar 16 2013 Terry Fage <trex1512@yahoo.com.au> 0.92-22
- Remove log noise from Create starter web site panel [SME: 150]

1 wellsi 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