[Jifty-commit] r4869 - in jifty/trunk: lib/Jifty/Web
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jan 16 14:54:30 EST 2008
Author: trs
Date: Wed Jan 16 14:54:30 2008
New Revision: 4869
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Web/Menu.pm
Log:
r31029 at zot: tom | 2008-01-16 14:54:24 -0500
Precedence
Modified: jifty/trunk/lib/Jifty/Web/Menu.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Menu.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Menu.pm Wed Jan 16 14:54:30 2008
@@ -154,9 +154,9 @@
# Figure out the URL
my $child = $self->{children}{$key};
- my $url = defined $child->link
+ my $url = ( defined $child->link
and ref $child->link
- and $child->link->can('url')
+ and $child->link->can('url') )
? $child->link->url : $child->url;
# Activate it
More information about the Jifty-commit
mailing list