Ignore:
Timestamp:
Nov 15, 2005, 5:11:48 PM (16 years ago)
Author:
Dominic Hargreaves
Message:

RT #15824 Can't call method "type" on an undefined value at /usr/local/lib/perl5/site_perl/5.8.5/Text/WikiFormat.pm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r706 r707  
    166166    my %node_data = $wiki->retrieve_node( %criteria );
    167167
    168     my $raw        = $node_data{content};
     168    # Fixes passing undefined values to Text::Wikiformat if node doesn't exist.
     169    my $raw        = $node_data{content} || " ";
    169170    my $content    = $wiki->format($raw);
    170171    my $modified   = $node_data{last_modified};
Note: See TracChangeset for help on using the changeset viewer.