Update to fix undefined offset

Added an else null statement around line 1237 to fix PHP Notice: undefined offset 1 in xxx\xxx\releases.php line 1237