Fixed php warnings for undefined indices.
Merge branch 'master' of github.com:chrishow/thimble