PostgreSQL compatibility
Fixed notice introduced by previous change
Merge branch 'feature/tests' of github.com:akeeba/fof into feature/tests