Changeset 540


Ignore:
Timestamp:
Nov 1, 2012, 4:58:15 PM (10 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.