Fix PHP warning in posts with no relations
Merge pull request #1 from Flynsarmy/master

Fix PHP warning in posts with no relations