Commit f75b832a authored by 陈家荣's avatar 陈家荣

update

parent 9f381469
......@@ -213,7 +213,7 @@ router.post('/member/:mid/setHonorTitle', function(req, res, next) {
});
},
function(user, callback) {
if(user && user.honorTitles.length > 0){
if(user && user.honorTitles && user.honorTitles.length > 0){
var exitsHonorList = user.honorTitles;
for(var i = 0;i < exitsHonorList.length; i++){
var flag = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment