@@ -494,8 +494,8 @@ class UserStorageDB extends UserStorageBase {
$res = $db->query($sql);
if ($r = $db->fetch($res)) {
$sqlObj->ID = $r->ID;
- $affexted = $this->_db->UPDATE_OBJ('CRM_AUTH_PROFILE', $sqlObj);
- if ($affexted > 0) {
+ $affected = $this->_db->UPDATE_OBJ('CRM_AUTH_PROFILE', $sqlObj);
+ if ($affected > 0) {
return true;
}