Fixed Warning

Fixed warning on home page in index.php