diff options
| author | 2023-11-25 08:50:34 +0100 | |
|---|---|---|
| committer | 2023-11-25 08:50:34 +0100 | |
| commit | c71047ca023187ea12d8a01a98c99ae6f60bdb25 (patch) | |
| tree | 080e43d169cf5468697ac809c054c71d86ca18c7 /html.c | |
| parent | Use xs_html in the static greeting page. (diff) | |
| download | snac2-c71047ca023187ea12d8a01a98c99ae6f60bdb25.tar.gz snac2-c71047ca023187ea12d8a01a98c99ae6f60bdb25.tar.xz snac2-c71047ca023187ea12d8a01a98c99ae6f60bdb25.zip | |
Fixed html_note() where cw_text is XSTYPE_NULL.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -276,7 +276,7 @@ xs_html *html_note(snac *user, char *summary, | |||
| 276 | xs_html_attr("type", "text"), | 276 | xs_html_attr("type", "text"), |
| 277 | xs_html_attr("name", "summary"), | 277 | xs_html_attr("name", "summary"), |
| 278 | xs_html_attr("placeholder", L("Sensitive content description")), | 278 | xs_html_attr("placeholder", L("Sensitive content description")), |
| 279 | xs_html_attr("value", cw_text)))))); | 279 | xs_html_attr("value", xs_is_null(cw_text) ? "" : cw_text)))))); |
| 280 | 280 | ||
| 281 | if (actor_id) | 281 | if (actor_id) |
| 282 | xs_html_add(form, | 282 | xs_html_add(form, |