From f3010db1b37624bbd66b0dacdaa651a9db75db69 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 10 May 2010 14:12:07 -0700 Subject: [PATCH] Persist data entered by the user in the registration form, but keep falling back to user profile field defaults if no user input is given. Fixes bug #11533. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Auth.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 387892bf6..d9a1e3731 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -7,6 +7,7 @@ - fixed #11555: Wiki subcategories entry field is not labeled - fixed: UserList asset has SQL injection bug - fixed #11558: wiki results for visitors + - fixed #11533: Saving entered data at registration 7.9.4 - We're shipping underscore.js now for its suite of extremely handy utility diff --git a/lib/WebGUI/Auth.pm b/lib/WebGUI/Auth.pm index 0816bda3f..635445485 100644 --- a/lib/WebGUI/Auth.pm +++ b/lib/WebGUI/Auth.pm @@ -242,7 +242,7 @@ sub createAccount { $formField = $field->formField($properties, undef, undef, undef, $defaultValue); } else { - $formField = $field->formField($properties, undef, undef, undef, undef, undef, 'useFormDefault'); + $formField = $field->formField($properties); }