SAAS-879 and add FAQ to Help menu

* SAAS-879: When trying to save changes in the user setting pages
  changes do not save and goes to a "an error hass occured page"
This commit is contained in:
Albert Santoni 2015-06-19 14:22:58 -04:00
parent 627343a626
commit 19adb062cf
3 changed files with 19 additions and 6 deletions

View file

@ -138,8 +138,13 @@ class UserController extends Zend_Controller_Action
$formData['cu_last_name'] = "admin"; //ditto, avoid non-null DB constraint
}
}
$user->setFirstName($formData['cu_first_name']);
$user->setLastName($formData['cu_last_name']);
if (isset($formData['cu_first_name'])) {
$user->setFirstName($formData['cu_first_name']);
}
if (isset($formData['cu_last_name'])) {
$user->setLastName($formData['cu_last_name']);
}
// We don't allow 6 x's as a password.
// The reason is because we use that as a password placeholder
// on the client side.