[CS] CS for mod_whoisonline helper file

This is a bit CS for the mod_whoisonline helper file
Update helper.php
Merge pull request #5125 from zero-24/patch-6

[CS] CS for mod_whoisonline helper file