Option to display national flag in player profile
Fix PHP < 5.3 error