Przeglądaj źródła

no visibility for editing

byte 9 miesięcy temu
rodzic
commit
daee7581db
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      html.c

+ 2 - 1
html.c

@@ -486,7 +486,8 @@ xs_html *html_note(snac *user, const char *summary,
                 xs_html_attr("type",  "hidden"),
                 xs_html_attr("type",  "hidden"),
                 xs_html_attr("name",  "to"),
                 xs_html_attr("name",  "to"),
                 xs_html_attr("value", actor_id)));
                 xs_html_attr("value", actor_id)));
-    html_note_render_visibility(user, form, scope);
+    if (edit_id == NULL)
+        html_note_render_visibility(user, form, scope);
 
 
     if (redir)
     if (redir)
         xs_html_add(form,
         xs_html_add(form,