Update Ranking.php

FIX: Warning: Illegal string offset 'userid' in