Update store.php

Defined empty so as to actually be useful
Merge pull request #18 from mbeall/master

Fixed !empty issue