mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
add quotes around strings
This commit is contained in:
parent
ec39f8d389
commit
f5f51bdebe
@ -240,7 +240,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$order = ( $_GET['order'] ) ? $_GET['order'] : 'ip';
|
||||
usort($leases,
|
||||
function ($a, $b) use ($order) {
|
||||
return strnatcasecmp($a[$order].$a[ip], $b[$order].$b[ip]);
|
||||
return strnatcasecmp($a[$order].$a['ip'], $b[$order].$b['ip']);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user