[Jifty-commit] r6738 - jifty/trunk/lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Thu Apr 9 11:19:39 EDT 2009
Author: sunnavy
Date: Thu Apr 9 11:19:39 2009
New Revision: 6738
Modified:
jifty/trunk/lib/Jifty/Handler.pm
Log:
test before treate self->_view_handlers as hashref
Modified: jifty/trunk/lib/Jifty/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/Handler.pm Thu Apr 9 11:19:39 2009
@@ -129,6 +129,7 @@
sub view {
my $self = shift;
my $class = shift;
+ return unless $self->_view_handlers;
return $self->_view_handlers->{$class};
}
More information about the Jifty-commit
mailing list