shorty: Fixed a buggy security check that resulted in annoying php log entries (warnings).
Merge pull request #41 from arkascha/master

shorty: Fixed a buggy security check that resulted in annoying php log entries (warnings).