Fixed up index.php

There was a conflict, so I re-commited the last one.
The problem was that when a player did a item he did not
have in his inventory, it would infinitely loop that he did not
own the item.