fixed an operator precedence issue of the ternary operator
This commit is contained in:
parent
b77a9f36b4
commit
5e296b7deb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user