diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 1c73d2086..0eb7e67fb 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -5,6 +5,7 @@ - bugfix [ 1028746 ] All pages shown as Roots & PageTree not working - bugfix [ 1028561 ] Manage Users - Next Page Link Broken - bugfix [ 1028494 ] Folder not shown in Manage Collateral + - bugfix [ 1028446 ] Can't copy Navigation 6.2.2 diff --git a/lib/WebGUI/Operation/Navigation.pm b/lib/WebGUI/Operation/Navigation.pm index 5005a0c35..c21855845 100644 --- a/lib/WebGUI/Operation/Navigation.pm +++ b/lib/WebGUI/Operation/Navigation.pm @@ -61,7 +61,7 @@ sub www_copyNavigation { WebGUI::SQL->write("insert into Navigation (navigationId, identifier, depth, method, startAt, stopAtLevel, templateId, showSystemPages, showHiddenPages, showUnprivilegedPages, reverse) - values (".WebGUI::Id::generate().", + values (".quote(WebGUI::Id::generate()).", ".quote($navigation{identifier}.' (copy)').", $navigation{depth}, ".quote($navigation{method}). ", ".quote($navigation{startAt}).", $navigation{stopAtLevel}, ".quote($navigation{templateId}).", $navigation{showSystemPages}, $navigation{showHiddenPages},$navigation{showUnprivilegedPages},