diff --git a/website/code/desktop-download.php b/website/code/desktop-download.php index 6dab80da..5f1046e1 100644 --- a/website/code/desktop-download.php +++ b/website/code/desktop-download.php @@ -36,7 +36,7 @@ function popularity_cmp ( $a, $b ) if ( @$a['popularity'] == @$b['popularity'] ) return 0; // sort from highest to lowest - return ($a['popularity'] > $b['popularity']) ? -1 : 1; + return (@$a['popularity'] > @$b['popularity']) ? -1 : 1; }