From: Marcus Ramberg Date: Wed, 21 Dec 2005 15:24:51 +0000 (+0000) Subject: fix minor mistake in custom error screen (Jan Ivar Pladsen) X-Git-Tag: 5.7099_04~769 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=121baf930c9edc6187e05e3f168ff56502d9af34;p=catagits%2FCatalyst-Runtime.git fix minor mistake in custom error screen (Jan Ivar Pladsen) --- diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index a7bfbd6..0410d79 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -599,7 +599,7 @@ C method; see L). $c->stash->{errors} = $c->error; $c->stash->{template} = 'errors.tt'; $c->forward('MyApp::View::TT'); - $c->{error} = []; + $c->error(0); } return 1 if $c->response->status =~ /^3\d\d$/;