Changeset 540 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
11/01/12 16:58:15 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Remove minor possibility of "Use of uninitialized..." log noise. See #31.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r539 r540  
    845845  $page->param(notes => $blockdata->{notes});
    846846  $blockdata->{privdata} = $q->escapeHTML($blockdata->{privdata});
    847   $blockdata->{privdata} = ' ' if $blockdata->{privdata} eq '';
     847  $blockdata->{privdata} = ' ' if !$blockdata->{privdata};
    848848  $blockdata->{privdata} =~ s/\n/<br>\n/;
    849849  $page->param(privdata => $blockdata->{privdata}) if $IPDBacl{$authuser} =~ /s/;
Note: See TracChangeset for help on using the changeset viewer.