Fixed status_calc_regen crash issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/
Follow up to 7cd967f
https://github.com/HerculesWS/Hercules/commit/29de937a2d8b485498fa9ce573efebfb64e8d669