Skip to content

Commit

Permalink
fix: typo in getAbsoluteUrlInContext
Browse files Browse the repository at this point in the history
  • Loading branch information
zmsbot committed Oct 3, 2024
1 parent 7f1e01e commit ad75901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/zmsobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def default(*args, **kwargs):
abs_url = args[1]['abs_url']
forced = args[1]['forced']
if context.getConfProperty('ZMSObject.getAbsoluteUrlInContext', False):
if context.getHome() != context.getHome():
if context.getHome() != self.getHome():
protocol = context.getConfProperty('ASP.protocol', 'http')
domain = context.getConfProperty('ASP.ip_or_domain', None)
if domain:
Expand Down

0 comments on commit ad75901

Please sign in to comment.