mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Fixed html_note() where cw_text is XSTYPE_NULL.
This commit is contained in:
parent
f4633b9356
commit
c71047ca02
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -276,7 +276,7 @@ xs_html *html_note(snac *user, char *summary,
|
|||
xs_html_attr("type", "text"),
|
||||
xs_html_attr("name", "summary"),
|
||||
xs_html_attr("placeholder", L("Sensitive content description")),
|
||||
xs_html_attr("value", cw_text))))));
|
||||
xs_html_attr("value", xs_is_null(cw_text) ? "" : cw_text))))));
|
||||
|
||||
if (actor_id)
|
||||
xs_html_add(form,
|
||||
|
|
Loading…
Reference in a new issue