200 | | sql_modify_user_info += "password='" + new_password +"', "; |
201 | | } |
202 | | |
203 | | sql_modify_user_info += "groups='" + groups + "'" + ", accountstatus='" + accountstatus + "'" + ", comment='" + comment + "'" + " where username='" + username+"'"; |
| 200 | sql_modify_user_info += "password='" + new_password +"'"; |
| 201 | } |
| 202 | |
| 203 | if (groups!=null && accountstatus!=null && comment!=null){ |
| 204 | sql_modify_user_info += ", groups='" + groups + "'" + ", accountstatus='" + accountstatus + "'" + ", comment='" + comment + "'"; |
| 205 | } |
| 206 | sql_modify_user_info +=" where username='" + username+"'"; |
| 207 | |