summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar byte2025-11-01 01:18:28 +0100
committerGravatar byte2025-11-01 01:18:28 +0100
commitdaee7581dbf5b458f28e486fd89804b91209a9bb (patch)
treeacd6546107a14613fe7316de12bf817b70263c1a /html.c
parentMerge remote-tracking branch 'orig/master' into feature/lesser-visibility (diff)
downloadsnac2-daee7581dbf5b458f28e486fd89804b91209a9bb.tar.gz
snac2-daee7581dbf5b458f28e486fd89804b91209a9bb.tar.xz
snac2-daee7581dbf5b458f28e486fd89804b91209a9bb.zip
no visibility for editing
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index a2dfb79..84636e9 100644
--- a/html.c
+++ b/html.c
@@ -486,7 +486,8 @@ xs_html *html_note(snac *user, const char *summary,
486 xs_html_attr("type", "hidden"), 486 xs_html_attr("type", "hidden"),
487 xs_html_attr("name", "to"), 487 xs_html_attr("name", "to"),
488 xs_html_attr("value", actor_id))); 488 xs_html_attr("value", actor_id)));
489 html_note_render_visibility(user, form, scope); 489 if (edit_id == NULL)
490 html_note_render_visibility(user, form, scope);
490 491
491 if (redir) 492 if (redir)
492 xs_html_add(form, 493 xs_html_add(form,