diff options
author | dakkar <dakkar@luxion> | 2008-10-02 12:04:22 +0000 |
---|---|---|
committer | dakkar <dakkar@luxion> | 2008-10-02 12:04:22 +0000 |
commit | 23b1ddb971a11119c849ffb16d8a0bc4a97bc6fa (patch) | |
tree | 72861a5526746f6c29aefc5b817f46b47a0f3f06 /lib/WebCoso/Common.pm | |
parent | some uniqs (diff) | |
download | WebCoso-23b1ddb971a11119c849ffb16d8a0bc4a97bc6fa.tar.gz WebCoso-23b1ddb971a11119c849ffb16d8a0bc4a97bc6fa.tar.bz2 WebCoso-23b1ddb971a11119c849ffb16d8a0bc4a97bc6fa.zip |
fixed that damn title-related error
git-svn-id: svn://luxion/repos/WebCoso/trunk@388 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 'lib/WebCoso/Common.pm')
-rw-r--r-- | lib/WebCoso/Common.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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}; |