aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/sledjchisl/sledjchisl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 3677601..59624b4 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -5541,9 +5541,11 @@ void account_html(char *file, reqData *Rd, HTMLfile *thisFile)
5541 } 5541 }
5542 } 5542 }
5543 doit = Rd->doit; 5543 doit = Rd->doit;
5544 form = Rd->form;
5544 } 5545 }
5545 5546
5546 // Submit the data. 5547 // Submit the data. Reload input form and sub in case things got changed by the validation functions.
5548 iF = accountPages->get(accountPages, Rd->form, NULL, false);
5547 sub = iF->subs->get(iF->subs, Rd->doit, NULL, false); 5549 sub = iF->subs->get(iF->subs, Rd->doit, NULL, false);
5548//if (strcmp("POST", Rd->Method) == 0) // Not such a good idea, since we are faking a submit for account validation, which is a GET. 5550//if (strcmp("POST", Rd->Method) == 0) // Not such a good idea, since we are faking a submit for account validation, which is a GET.
5549{ 5551{