Updated OnlineCounter.php

Updated to support 1.3.1 dev release