Explorar o código

Vote objects no longer have a content of "".

default hai 1 ano
pai
achega
3cec0d3ebe
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      html.c

+ 3 - 0
html.c

@@ -4824,6 +4824,9 @@ int html_post_handler(const xs_dict *req, const char *q_path,
             /* set the option */
             /* set the option */
             msg = xs_dict_append(msg, "name", v);
             msg = xs_dict_append(msg, "name", v);
 
 
+            /* delete the content */
+            msg = xs_dict_del(msg, "content");
+
             xs *c_msg = msg_create(&snac, msg);
             xs *c_msg = msg_create(&snac, msg);
 
 
             enqueue_message(&snac, c_msg);
             enqueue_message(&snac, c_msg);