Skip to content

Commit

Permalink
Merge branch 'main' into cmfplone-3973
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens authored Jun 19, 2024
2 parents 3782bd7 + 234018b commit 1671c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plone/base/navigationroot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_navigation_root(context, relativeRoot=None):
portal path and this relativeRoot.
If no relativeRoot argument is provided, and there is a root value set in
portal_properties, navigation root path is computed from
the configuration registry, navigation root path is computed from
portal path and this root value.
IMPORTANT !!!
Expand All @@ -32,7 +32,7 @@ def get_navigation_root(context, relativeRoot=None):
return "/".join(getSite().getPhysicalPath())

if relativeRoot is None:
# fetch from portal_properties
# fetch from configuration registry
registry = getUtility(IRegistry)
relativeRoot = registry.get("plone.root", None)

Expand Down

0 comments on commit 1671c5f

Please sign in to comment.