You need to use `isset()` here in case the array index doesn't exist.