[Jifty-commit] r1802 - jifty/trunk/lib/Jifty/Web
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Aug 13 11:31:20 EDT 2006
Author: nelhage
Date: Sun Aug 13 11:31:19 2006
New Revision: 1802
Modified:
jifty/trunk/lib/Jifty/Web/Menu.pm
Log:
This should fix the error messages we've been seeing on the live Hiveminder.
Modified: jifty/trunk/lib/Jifty/Web/Menu.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Menu.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Menu.pm Sun Aug 13 11:31:19 2006
@@ -66,7 +66,7 @@
my $self = shift;
$self->{url} = shift if @_;
- $self->{url} = URI->new_abs($self->{url}, $self->parent->url . "/")
+ $self->{url} = URI->new_abs($self->{url}, $self->parent->url . "/")->as_string
if $self->parent and $self->parent->url;
return $self->{url};
@@ -124,7 +124,7 @@
if ($url eq $base_path) {
$self->{children}{$key}->active(1);
}
- }
+ }
}
return $self->{children}{$key}
More information about the Jifty-commit
mailing list