mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-05-06 22:32:22 +03:00
Label can be empty
This commit is contained in:
parent
a73e3fd1d3
commit
32e49eae99
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function _do_curl($method, $opts = null, $type = 'post') {
|
|||
}
|
||||
|
||||
function _valid_label($name) {
|
||||
return ( bool ) preg_match( "/^[-.a-z0-9_\/]+$/i" , $name );
|
||||
return ( bool ) preg_match( "/^([-.a-z0-9_\/]+)?$/i" , $name );
|
||||
}
|
||||
|
||||
function _create_record($name, $records, $input, $zoneurl) {
|
||||
|
|
Loading…
Add table
Reference in a new issue