From b746978478fa5eaa52a6c5c60f3419495c9de068 Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Fri, 4 Jul 2014 15:14:53 +0200 Subject: [PATCH] Although PHP doesn't complain about that extra parameter, it does have effect on the sorting algorithm --- zones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zones.php b/zones.php index da91ca3..6196243 100644 --- a/zones.php +++ b/zones.php @@ -108,7 +108,7 @@ function getrecords_by_name_type($zoneurl, $name, $type) { } function zonesort($a, $b) { - return strnatcmp($a["name"], $b["name"], 30); + return strnatcmp($a["name"], $b["name"]); } function add_db_zone($zone, $owner) {