diff options
| author | default <nobody@localhost> | 2025-04-04 08:07:56 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-04-04 08:07:56 +0200 |
| commit | 3cec0d3ebeeef595f509c52e6c0ac3682ba67e6f (patch) | |
| tree | d31074946c492ffdf2e39be6d0f54cf56e081096 /html.c | |
| parent | 877434218ffca350eb918fd47dfe81f29f2605ae (diff) | |
Vote objects no longer have a content of "".
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4824,6 +4824,9 @@ int html_post_handler(const xs_dict *req, const char *q_path, /* set the option */ msg = xs_dict_append(msg, "name", v); + /* delete the content */ + msg = xs_dict_del(msg, "content"); + xs *c_msg = msg_create(&snac, msg); enqueue_message(&snac, c_msg); |