mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
set email field instead of fullname in setEmail()
This commit is contained in:
parent
621802ad22
commit
b578118bee
|
@ -124,7 +124,7 @@ function setEmail($id) { /* {{{ */
|
|||
$app->response()->header('Content-Type', 'application/json');
|
||||
echo json_encode(array('success'=>false, 'message'=>'Not logged in', 'data'=>''));
|
||||
}
|
||||
$userobj->setEmail($app->request()->put('fullname'));
|
||||
$userobj->setEmail($app->request()->put('email'));
|
||||
echo json_encode(array('success'=>true, 'message'=>'', 'data'=>$userid));
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user