We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11c3afb commit 623f82fCopy full SHA for 623f82f
mdcountdata.php
@@ -74,11 +74,11 @@ class logdata {
74
define('LOG_FOLDER', './logs/');
75
76
function compasc($a, $b) {
77
- return ($a === $b ? 0 : $a < $b ? -1 : 1);
+ return ($a === $b ? 0 : ($a < $b ? -1 : 1));
78
}
79
80
function compdesc($a, $b) {
81
- return ($a === $b ? 0 : $a > $b ? -1 : 1);
+ return ($a === $b ? 0 : ($a > $b ? -1 : 1));
82
83
84
function limitqty($data, $limit) {
0 commit comments