mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
tabs to spaces
This commit is contained in:
parent
c030c3fa18
commit
7b84bc03b0
@ -240,10 +240,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$order = ( $_GET['order'] ) ? $_GET['order'] : 'ip';
|
||||
usort($leases,
|
||||
function ($a, $b) use ($order) {
|
||||
$cmp = strnatcasecmp($a[$order], $b[$order]);
|
||||
if ($cmp === 0) {
|
||||
$cmp = strnatcasecmp($a['ip'], $b['ip']);
|
||||
}
|
||||
$cmp = strnatcasecmp($a[$order], $b[$order]);
|
||||
if ($cmp === 0) {
|
||||
$cmp = strnatcasecmp($a['ip'], $b['ip']);
|
||||
}
|
||||
return $cmp;
|
||||
}
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user