Fixes 'enddate' and image extension issues with MyBB 1.8