This commit is contained in:
Tan Jiang 2016-03-30 18:05:52 +08:00
parent 366d1bff6a
commit cdef3629cc

View File

@ -130,7 +130,7 @@ func (pma *ProjectMemberAPI) Post() {
}
}
if !hasProjectAdminRole {
log.Warningf("Current user, id: %d does not have project admin role for project, id:", pma.currentUserUD, pid)
log.Warningf("Current user, id: %d does not have project admin role for project, id:", pma.currentUserID, pid)
pma.RenderError(http.StatusForbidden, "")
return
}