mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
comment must be set to '' because user comment may not be null
This commit is contained in:
parent
0044cd6a19
commit
84443437a2
|
@ -2052,7 +2052,7 @@ class RestapiController { /* {{{ */
|
|||
$email = isset($params['email']) ? $params['email'] : '';
|
||||
$language = isset($params['language']) ? $params['language'] : null;;
|
||||
$theme = isset($params['theme']) ? $params['theme'] : null;
|
||||
$comment = isset($params['comment']) ? $params['comment'] : null;
|
||||
$comment = isset($params['comment']) ? $params['comment'] : '';
|
||||
$role = isset($params['role']) ? $params['role'] : null;
|
||||
$roleid = $role == 'admin' ? SeedDMS_Core_User::role_admin : ($role == 'guest' ? SeedDMS_Core_User::role_guest : SeedDMS_Core_User::role_user);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user