/[smeserver]/rpms/perl-CGI-FormMagick/sme8/perl-CGI-FormMagick-0.92-uninitialized-value.patch
ViewVC logotype

Annotation of /rpms/perl-CGI-FormMagick/sme8/perl-CGI-FormMagick-0.92-uninitialized-value.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 24 20:24:18 2009 UTC (15 years ago) by snetram
Branch: MAIN
CVS Tags: perl-CGI-FormMagick-0_92-18_el5_sme, perl-CGI-FormMagick-0_92-19_el5_sme, perl-CGI-FormMagick-0_92-22_el5_sme, perl-CGI-FormMagick-0_92-21_el5_sme, perl-CGI-FormMagick-0_92-20_el5_sme, perl-CGI-FormMagick-0_92-17_el5_sme, perl-CGI-FormMagick-0_92-23_el5_sme, HEAD
* Tue Nov 24 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.92-17
- Fix unitialized value errors in HTML.pm [SME: 3144]

1 snetram 1.1 diff -up perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/HTML.pm.uninitialized-value perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/HTML.pm
2     --- perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/HTML.pm.uninitialized-value 2009-11-24 19:51:56.000000000 +0100
3     +++ perl-CGI-FormMagick-0.92/lib/CGI/FormMagick/HTML.pm 2009-11-24 19:52:44.000000000 +0100
4     @@ -144,7 +144,7 @@ prints the stuff that goes at the bottom
5     sub print_form_footer {
6     my $fm = shift;
7    
8     - my $url = $fm->{cgi}->url(-relative => 1);
9     + my $url = $fm->{cgi}->url(-relative => 1) || '';
10    
11     # here's how we clear our state IDs
12     print qq(<p><a href="$url">),$fm->localise('Start over again'),
13     @@ -173,7 +173,7 @@ sub print_page_header {
14     my $title = $fm->page->{title};
15     my $description = $fm->page->{description};
16     my $menu = $fm->page->{menu};
17     - my $url = $fm->{cgi}->url(-relative => 1);
18     + my $url = $fm->{cgi}->url(-relative => 1) || '';
19     my $enctype = $fm->get_page_enctype();
20    
21     # the level 2 heading is the page element's title heading

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