This commit is contained in:
Unknown committed 2014-05-08 20:00:07 -04:00
1 parent 914ffa496f
commit 25713ab209
3 files changed
+14 -8

No files matched your search

+4
View File
@@ -44,6 +44,10 @@ type Issue struct {
func (i *Issue) GetPoster() (err error) {
i.Poster, err = GetUserById(i.PosterId)
if err == ErrUserNotExist {
i.Poster = &User{Name: "FakeUser"}
return nil
}
return err
}