sharing: minor fixes

This commit is contained in:
Peter Bieringer
2026-02-28 22:10:24 +01:00
parent 51fb882cab
commit c8e527fd4a
3 changed files with 5 additions and 2 deletions

View File

@@ -347,8 +347,9 @@ def xml_propfind_response(
if tag_text is not None:
if sharing:
# map from overlay
if sharing['Properties'][human_tag] is not None:
tag_text = sharing['Properties'][human_tag]
if human_tag in sharing['Properties']:
if sharing['Properties'][human_tag] is not None:
tag_text = sharing['Properties'][human_tag]
element.text = tag_text
else:
is404 = True