Update index.php

Added isset check. Fixes #252
Merge pull request #253 from gwu-libraries/t252-index.php-throws-error

Update index.php