Make all simple fields save

This commit is contained in:
Zach Copley 2011-03-09 19:31:37 -08:00
parent adcda00e76
commit 5203fa7151

View File

@ -97,7 +97,7 @@ class ProfileDetailSettingsAction extends SettingsAction
$profile = $user->getProfile(); $profile = $user->getProfile();
$simpleFieldNames = array('title'); $simpleFieldNames = array('title', 'spouse', 'kids');
foreach ($simpleFieldNames as $name) { foreach ($simpleFieldNames as $name) {
$value = $this->trimmed('extprofile-' . $name); $value = $this->trimmed('extprofile-' . $name);