diff --git a/codepot/src/codepot/views/file_home.php b/codepot/src/codepot/views/file_home.php index b0bdf932..07410337 100644 --- a/codepot/src/codepot/views/file_home.php +++ b/codepot/src/codepot/views/file_home.php @@ -309,8 +309,7 @@ $this->load->view ( if ($q != 0) return $q; } - return ($cx > $cy)? 1: - ($cx < $cy)? -1: 0; + return ($cx > $cy)? 1: (($cx < $cy)? -1: 0); } function comp_files ($a, $b)