fixed DN sorting
This commit is contained in:
parent
b8636a415d
commit
2a3a0fd1a0
|
@ -786,8 +786,9 @@ function compareDN($a, $b) {
|
||||||
else return 0; // DNs are identical
|
else return 0; // DNs are identical
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif ($part_a == max($part_a, $part_b)) return 1;
|
else {
|
||||||
else return -1;
|
return strnatcasecmp($part_a, $part_b);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue