From 23b1ddb971a11119c849ffb16d8a0bc4a97bc6fa Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 2 Oct 2008 12:04:22 +0000 Subject: fixed that damn title-related error git-svn-id: svn://luxion/repos/WebCoso/trunk@388 fcb26f47-9200-0410-b104-b98ab5b095f3 --- lib/WebCoso/Common.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/WebCoso/Common.pm') diff --git a/lib/WebCoso/Common.pm b/lib/WebCoso/Common.pm index f36e924..31adfbc 100644 --- a/lib/WebCoso/Common.pm +++ b/lib/WebCoso/Common.pm @@ -62,6 +62,8 @@ sub getTitleFor { my ($fc,$lang,$path,$name)=@_; DEBUG("getTitleFor($lang,$path,$name)"); + $name="$name"; # force it to a string, since it might be an XML Node + my $doc_name=$name; $doc_name=~s{\.html$}{.du.xml}; $doc_name=~s{/$}{/document.$lang.du.xml}; -- cgit v1.2.3