[Catalyst-commits] r14047 -
trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller
dpetrov at dev.catalyst.perl.org
dpetrov at dev.catalyst.perl.org
Fri Jul 8 08:58:19 GMT 2011
Author: dpetrov
Date: 2011-07-08 08:58:19 +0000 (Fri, 08 Jul 2011)
New Revision: 14047
Modified:
trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm
Log:
title in XML::Atom::SimpleFeed feed should be defined
Modified: trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm
===================================================================
--- trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm 2011-06-30 13:24:10 UTC (rev 14046)
+++ trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm 2011-07-08 08:58:19 UTC (rev 14047)
@@ -199,7 +199,7 @@
close $fh;
my $e = $feed->add_entry(
- title => { type => 'text', content => $parser->title },
+ title => { type => 'text', content => ($parser->title || "") },
content => { type => 'html', content => $parser->asString },
author => { name => $parser->author||'Catalyst',
email => ($parser->email||
More information about the Catalyst-commits
mailing list