Update store.php

Fix PHP notices
Merge pull request #13 from mbeall/master

PHP Notice fix