Fix PHP error
Merge pull request #8 from jonbloom/master

Fix PHP error