fix validation of offset-value in domain import + minor fixes

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-12-19 09:29:25 +01:00
parent 495a48bc87
commit c1ca72dd3c
3 changed files with 10 additions and 6 deletions

View File

@@ -1889,7 +1889,7 @@ if ($page == 'domains'
$customerid = intval($_POST['customerid']);
$separator = validate($_POST['separator'], 'separator');
$offset = intval($_POST['offset']);
$offset = validate($_POST['offset'], 'offset', "/[0-9]/i");
$file_name = $_FILES['file']['tmp_name'];