mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Fixed html_note() where cw_text is XSTYPE_NULL.
This commit is contained in:
parent
f4633b9356
commit
c71047ca02
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("type", "text"),
|
||||||
xs_html_attr("name", "summary"),
|
xs_html_attr("name", "summary"),
|
||||||
xs_html_attr("placeholder", L("Sensitive content description")),
|
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)
|
if (actor_id)
|
||||||
xs_html_add(form,
|
xs_html_add(form,
|
||||||
|
Loading…
Reference in New Issue
Block a user