fixed a PHP warning

see https://github.com/misterbisson/scriblio-authority/issues/78
Merge pull request #79 from wluo/github-78

fixed a PHP warning