]> saetta.ns0.it Git - zakform/tests/commitdiff
cgi_ini: call form::clear for default-value.
authorAndrea Zagli <azagli@libero.it>
Thu, 12 May 2016 11:14:34 +0000 (13:14 +0200)
committerAndrea Zagli <azagli@libero.it>
Thu, 12 May 2016 11:14:34 +0000 (13:14 +0200)
src/cgi_ini.c

index b10814f8b8bc5cfedfb923b228bf2ecfdb6722a3..8c04a940c1b5c22f7d9d591586f5756710cf7fe1 100644 (file)
@@ -80,6 +80,7 @@ main (int argc, char *argv[])
                                }
                        else
                                {
+                                       zak_form_form_clear (ZAK_FORM_FORM (form));
                                        g_string_append (str, zak_cgi_form_render (form));
                                }
                }