diff --git a/SUBQHSE/FineUIPro.Web/CQMS/Check/RewardAndPunish.aspx.cs b/SUBQHSE/FineUIPro.Web/CQMS/Check/RewardAndPunish.aspx.cs index 4faa0ca..a7146c8 100644 --- a/SUBQHSE/FineUIPro.Web/CQMS/Check/RewardAndPunish.aspx.cs +++ b/SUBQHSE/FineUIPro.Web/CQMS/Check/RewardAndPunish.aspx.cs @@ -258,7 +258,11 @@ namespace FineUIPro.Web.CQMS.Check { if (persionid != null && !string.IsNullOrEmpty(persionid.ToString())) { - return BLL.PersonService.GetPersonById(persionid.ToString()).PersonName; + SitePerson_Person person = BLL.PersonService.GetPersonById(persionid.ToString()); + if (person != null) + { + return person.PersonName; + } } return ""; }