From: Andrea Zagli Date: Thu, 12 May 2016 11:14:34 +0000 (+0200) Subject: cgi_ini: call form::clear for default-value. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=13220cf3871b20a6249b3ab8feae292014f6356b;p=zakform%2Ftests cgi_ini: call form::clear for default-value. --- diff --git a/src/cgi_ini.c b/src/cgi_ini.c index b10814f..8c04a94 100644 --- a/src/cgi_ini.c +++ b/src/cgi_ini.c @@ -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)); } }