Fix one leftover numeric array index

Related to previous commit, where mysqli_fetch_array was changed to
mysqli_fetch_assoc in database queries.