mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
Switch to strncmp
This commit is contained in:
parent
72d6f5782e
commit
119baad99b
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ function getrecords_by_name_type($zoneurl, $name, $type) {
|
|||
}
|
||||
|
||||
function zonesort($a, $b) {
|
||||
return strcmp($a["name"], $b["name"]);
|
||||
return strncmp($a["name"], $b["name"], 30);
|
||||
}
|
||||
|
||||
function add_db_zone($zone, $owner) {
|
||||
|
|
Loading…
Add table
Reference in a new issue