website: fix another warning that clutters the logs

This commit is contained in:
Jon Atkins 2013-10-30 04:34:39 +00:00
parent 2303ab193e
commit cc259b2da2

View File

@ -36,7 +36,7 @@ function popularity_cmp ( $a, $b )
if ( @$a['popularity'] == @$b['popularity'] ) if ( @$a['popularity'] == @$b['popularity'] )
return 0; return 0;
// sort from highest to lowest // sort from highest to lowest
return ($a['popularity'] > $b['popularity']) ? -1 : 1; return (@$a['popularity'] > @$b['popularity']) ? -1 : 1;
} }