add quotes around strings

This commit is contained in:
ljm42 2017-10-23 15:05:45 -07:00 committed by GitHub
parent ec39f8d389
commit f5f51bdebe

View File

@ -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']);
}
);