From 64d8f0fdef12c8fe0e24884e810e213bc7061647 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Fri, 31 May 2002 23:22:23 +0000 Subject: [PATCH] Fixed bug #562835 and a bug in duplication where synopsis would not be copied and linespacing would be set to 0. --- lib/WebGUI/Wobject/SiteMap.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Wobject/SiteMap.pm b/lib/WebGUI/Wobject/SiteMap.pm index 944e4e400..5e7316184 100644 --- a/lib/WebGUI/Wobject/SiteMap.pm +++ b/lib/WebGUI/Wobject/SiteMap.pm @@ -65,7 +65,8 @@ sub duplicate { startAtThisLevel=>$_[0]->get("startAtThisLevel"), indent=>$_[0]->get("indent"), bullet=>$_[0]->get("bullet"), - lineSpacing=>$_[0]->get("displaySynopsis"), + lineSpacing=>$_[0]->get("lineSpacing"), + displaySynopsis=>$_[0]->get("displaySynopsis"), depth=>$_[0]->get("depth") }); } @@ -81,7 +82,7 @@ sub new { #------------------------------------------------------------------- sub set { - $_[0]->SUPER::set($_[1],[qw(startAtThisLevel indent bullet lineSpacing depth)]); + $_[0]->SUPER::set($_[1],[qw(startAtThisLevel displaySynopsis indent bullet lineSpacing depth)]); } #-------------------------------------------------------------------