From 83e071fde16efb742a02c5b37216c7ae31a1dd96 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sun, 15 Jan 2006 19:42:51 +0000 Subject: [PATCH] getRequestedUrl --- lib/WebGUI/Asset/Post/Thread.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Post/Thread.pm b/lib/WebGUI/Asset/Post/Thread.pm index 6b21edc80..fa981b571 100644 --- a/lib/WebGUI/Asset/Post/Thread.pm +++ b/lib/WebGUI/Asset/Post/Thread.pm @@ -668,7 +668,7 @@ sub view { } else { $sql .= "asset.lineage"; } - my $currentPageUrl = $self->session->url->requestedUrl; + my $currentPageUrl = $self->session->url->getRequestedUrl; $p->setDataByQuery($sql, undef, undef, undef, "url", $currentPageUrl); foreach my $dataSet (@{$p->getPageData()}) { next unless ($dataSet->{className} eq "WebGUI::Asset::Post" || $dataSet->{className} eq "WebGUI::Asset::Post::Thread"); #handle non posts!